Operating system
Function of a OS
User interface
part of a computer program or system that allows a user to interact with it
Fixed and roaming profiles for a user:
fixed profile - ensures every user has the same desktop and settings
roaming profile - allows users to customize their settings which follows them when they log into different computers
Graphical user interface (GUI)-
Command Line Interface (CLI)-
Kernel
Resource Management/Multitasking:
-allows for more than one program to run at the same time
-programs held in queue. Scheduling. - Allocates small amounts of processor time to each process, cycling between them quickly
-only possibly if enough ram to hold more than one program in memory at once. Possible with VM.
File Management:
User Management:
Memory Management:
Buffering
Paging:
Segmentation:
Similarities and Differences of Paging and Segmentation
Similarities:
- Pages and segments are stored on the backing store (part of hard disk/is vm)
- Pages and segments are transferred into memory when needed.
- Both are ways of partitioning/splitting up memory.
- Both use virtual memory/backing store to swap parts of programs.
- Both allow programs larger than memory to run/insufficient memory and allow programs to be stored in memory non-contiguous.
Differences:
- Pages are fixed sized, while segments are different sizes.
- Pages are made to fit sections of memory, while segments are complete sections of programs.
- Pages are physical divisions, while segments are logical divisions.
Virtual Memory:
Virtual Memory Disk Thrashing:
Interrupt
Interrupt Register
special register where interrupts are stored in order of priority within an abstract data structure (priority queue).
Interrupt Service Routine (ISR)
Interrupt Handling
Role of an interrupt
types of interrupts:
Scheduling