52 exam-style questions on Operating systems and control systems — topic A1.3 of Computer fundamentals in the IB Computer Science syllabus — with answers and explanations. Samples below; the full set is free with an account.
A user sends three long documents to the same printer within a few seconds. Which operating system function stops the three documents from being interleaved on the paper?
Answer: Peripheral management, by queuing the jobs for the printer
The operating system holds each print job in a queue on secondary storage and passes them to the printer one at a time through its driver. Paging and directory structures manage memory and stored data, not access to an attached device.
A computer has 512 MiB of primary memory installed and the user starts a program that needs 800 MiB. The program runs successfully. Which explanation is correct?
Answer: Only the pages currently in use are held in primary memory
Virtual memory divides the program into pages and keeps only the pages being used in primary memory, fetching the others from secondary storage on demand. Cache is smaller than primary memory rather than larger, and the processor can only execute instructions that have been loaded into primary memory.
A computer has almost no free primary memory left and becomes nearly unusable: its secondary storage is accessed continuously although the processor is mostly idle. Which explanation fits best?
Answer: Pages are being swapped in and out faster than useful work is done
When the memory demanded by the running programs exceeds the primary memory available, the operating system spends nearly all of its time transferring pages instead of executing instructions. The symptom is a busy disk together with an idle processor; redrawing or polling would keep the processor busy instead.
A key is pressed while a program is running and the keyboard raises an interrupt. What does the processor do next?
Answer: It saves its current state and runs the handler routine
An interrupt makes the processor finish the current instruction, save its registers so that the interrupted program can resume, and execute the service routine for that device. Checking each device in turn is polling, which wastes processor time on devices that have nothing to report.
Why does an operating system prevent an application from writing directly to any address in primary memory?
Answer: One faulty program could overwrite the code or data of another
Memory protection gives every process its own address space so that a fault in one program cannot corrupt another program or the operating system itself. Speed is not the reason: the boundary check is made by hardware as the address is issued.
A programmer saves data to a solid-state drive and to a magnetic drive using exactly the same command. Which idea does this illustrate?
Answer: The operating system hides device detail behind a uniform interface
Abstraction means the operating system offers one set of file operations while the driver deals with how a particular device actually stores the data. Without it every application would have to be rewritten each time a new kind of drive appeared.
That was 6 of 52 Operating systems and control systems questions.
Practise all 52 freeOutlineAO1 · 1–2 marks
A brief account or summary: the main points in two or three sentences, no evaluation.
DistinguishAO2 · 2–4 marks
Make the difference clear for BOTH terms — a definition of one of them is only half an answer.
StateAO1 · 1–2 marks
One word or one short sentence. No explanation, no working: the mark is for the fact itself.
52 Operating systems and control systems questions — free with an account. Spaced repetition, streaks and full exam simulations included.
Practise them freeThis platform is independently developed and is not endorsed by, affiliated with, or sponsored by the International Baccalaureate Organization. “International Baccalaureate” and “IB” are registered trademarks of the IBO.