What is an Operating System?
Software that manages hardware and provides a platform for applications; manages memory, processes, security, files, I/O.
What is paging?
Dividing memory into fixed-size pages; programs are divided into pages; stored in frames.
What is segmentation?
Dividing memory into variable-sized segments based on logical divisions (e.g., data segment, code segment).
What is virtual memory?
Using secondary storage (HDD/SSD) as an extension of RAM when physical RAM is full.
What is an interrupt?
A signal sent to the processor indicating an event requiring immediate attention.
What is an Interrupt Service Routine (ISR)?
A subroutine executed in response to an interrupt.
What is a maskable interrupt?
An interrupt that can be ignored or delayed by the CPU.
What is a non-maskable interrupt (NMI)?
An interrupt that cannot be ignored; used for critical errors (e.g., power failure).
Round Robin scheduling.
Each process gets a fixed time slice (quantum); cycles through processes.
First Come First Served (FCFS).
Processes executed in the order they arrive; non-preemptive.
Multi-level feedback queue.
Processes move between priority queues based on behaviour; prevents starvation.
Shortest Job First (SJF).
Executes the process with the smallest total execution time next; non-preemptive.
Shortest Remaining Time (SRT).
Preemptive version of SJF; executes the process with the least time remaining.
Which scheduling algorithms are preemptive?
Round Robin, Shortest Remaining Time (SRT).
Which scheduling algorithms are non-preemptive?
First Come First Served (FCFS), Shortest Job First (SJF).
What is a Real Time Operating System (RTOS)?
Guarantees response within a strict deadline; used in medical devices, airbags.
What is a distributed OS?
Manages a group of independent computers and makes them appear as a single system.
What is an embedded OS?
Designed for specific devices with limited resources (e.g., smartwatch, microwave).
What is a multi-tasking OS?
Allows multiple tasks/processes to run concurrently by sharing CPU time.
What is a multi-user OS?
Allows multiple users to access the system simultaneously.
What is BIOS?
Basic Input Output System; firmware stored in ROM; initialises hardware and boots the OS.
What does POST stand for?
Power On Self Test.
What does POST do?
Checks that essential hardware (RAM, keyboard, storage) is present and functioning before booting.
What is a device driver?
Software that allows the OS to communicate with a specific hardware device.