Topic 6 asks how limited resources — memory, processor time, bandwidth, storage — are shared out. The operating system is the manager: it handles memory, the processor, peripherals and running programs.
Work through each screen, answer the questions as you go (some are wordy, some are calculations) and collect ⭐ stars. Press Start when you are ready.
Key resources a system must manage:
Every resource is finite, so demand can exceed supply and must be scheduled and prioritised.
The operating system (OS) manages resources so programs and users can share the machine:
Tap an item, then the category it belongs to.
To run programs larger than physical RAM, the OS uses virtual memory: part of the disk is used as if it were extra RAM. Memory is divided into fixed-size pages that are swapped between RAM and disk as needed (paging).
Too much paging causes thrashing, where the system spends more time swapping than computing, and slows dramatically.
Multitasking lets several processes appear to run at once. The scheduler gives each a slice of CPU time and switches quickly between them. Different scheduling policies (round-robin, priority) balance fairness and responsiveness.
Devices signal the CPU in two ways:
A dedicated (embedded) system is built for one task — a smart thermostat, an ATM, a washing-machine controller. It has limited, fixed resources and a specialised OS, so resource management is simpler but tightly constrained.
Tap a description on the left, then the OS function.
Memory forms a hierarchy, fastest and smallest first: registers, cache, RAM, then secondary storage. Cache holds recently and frequently used data close to the CPU. A high cache hit rate means most requests are served from fast cache, greatly improving performance.
Resources: memory, processor, bandwidth, storage, cache, GPU
OS roles: manage memory, processor, peripherals, security
Virtual memory: disk used as extra RAM, divided into pages
Scheduling: shares the CPU for multitasking
Interrupts vs polling: react on demand vs constantly check
Dedicated systems: one task, fixed limited resources
You have covered the key ideas in Topic 6 — resource management. Press Finish to see your score.
You have worked through Resource management. 🎉
Your stars: 0 / 0
Next: test yourself in the Verify stage.