Why is processor scheduling needed?
To maximise CPU efficiency and ensure fair, fast execution of tasks
What is the role of the Interrupt Service Routine (ISR)?
To handle an interrupt before the CPU returns to the fetch-decode-execute cycle
What is an interrupt?
A signal sent to the CPU by software, hardware, or the internal clock to indicate an event requiring immediate attention.
What is virtual memory used for?
Extending apparent RAM by using secondary storage when physical memory is insufficient.
What is segmentation?
Dividing memory into variable sized logical segments.
What is paging?
Dividing memory into fixed size blocks called pages
What is the purpose of memory management?
To allocate and organise RAM so programs run efficiently without interfering.
Is multitasking the same as multiprocessing?
Multitasking uses one CPU switching tasks; multiprocessing uses multiple CPUs running tasks simultaneously.
What does multitasking mean on a PC?
Running multiple programs apparently at the same time by rapidly switching between them.
What are the five key functions of an operating system?
Memory management, interrupt service routines, processor scheduling, backing store management and input, output management
What is the purpose of the OS interface?
To hide hardware complexity and allow users to perform tasks easily
What is the role of the loader?
It is a ROM based program that loads the OS from storage into RAM at startup
Where is the operating system stored when the computer is switched off?
In permanent storage such as a hard disk
Why does the user need an operating system to interact with hardware?
Because users cannot communicate directly with hardware, so the OS acts as a bridge
What is an operating system?
A program or series of programs that manage the operations of the computer
What is memory management in an OS?
The allocation and management of memory space so multiple tasks can run efficiently.
Why is memory management important when multitasking?
It ensures each task has its own memory area and switches between them smoothly
What happens when you switch applications?
The OS switches to the corresponding memory area for that application
What is paging?
Dividing memory into fixed size 4KB pages to manage processors efficiently.
Can a processor be split across multiple pages?
Yes a process may be stored in several separate pages in memory
How are logical and physical addresses linked in paging?
The OS uses a page table to map logical addresses to physical memory locations
What is segmentation?
Dividing memory into variable length segments based on program structure
How is segmentation different from paging?
Paging uses fixed size blocks; segmentation uses logical divisions of varying sizes
Can only part of a program be loaded in segmentation?
Yes, just like paging partial loading is possible