aimnova.
DashboardMy LearningPaper MasteryStudy Plan

Aimnova site navigation

Stay in the loop

Get the latest study resources and updates

New features, study tips and exam insights — straight to your inbox.

IB Diploma

  • IB Past Papers
  • IB Study Notes
  • IB Question Bank
  • IB Mock Exams
  • IB Revision

IB Subjects

  • IB Math AA
  • IB Math AI
  • IB Economics
  • IB Business Management
  • IB Physics
  • IB Biology
  • View all IB subjects→

IB Past Papers

  • IB Math AA HL Past Papers
  • IB Math AA SL Past Papers
  • IB Math AI HL Past Papers
  • IB Math AI SL Past Papers
  • IB Economics HL Past Papers
  • IB Economics SL Past Papers
  • IB ESS Past Papers
  • View all past papers→

Study Resources

  • Study Notes
  • Question Bank
  • Mock Exams
  • Flashcards
  • Revision Guide
  • Exam Skills
  • Command Terms
  • Grade Calculator
  • Exam Timetable 2026

Aimnova

  • Features
  • Pricing
  • For Schools
  • For Parents
  • About Us
  • Blog
  • Contact
aimnova.

AI-powered study platform for smarter revision, past-paper analysis and examiner-style feedback.

TermsPrivacyCookies·© 2026 Aimnova. All rights reserved.8afc4e3

Aimnova is not affiliated with or endorsed by the International Baccalaureate Organization (IB).

NotesComputer Science HLTopic 1.3
Unit 1 · Computer fundamentals · Topic 1.3

IB Computer Science HL — Operating and control systems

Operating systems and control systems

Higher Level students should use this topic hub as a map: start with the shared sub-topics, then follow the HL-only extensions and exam-skill links where this topic asks for deeper analysis.

Exam technique guidePractice questions

Key concepts in Operating and control systems

Key Idea: The operating system manages the hardware and shares it between programs. That is why an application can ask for a file or the screen without knowing anything about the actual device underneath.

Paper 1

  • Short answers and structured questions.
  • Define, state, describe — one precise line per mark.

Paper 2

  • Applied, scenario-based.
  • Calculations — conversions, capacities, transfer times.

Both

  • Explain wants the mechanism AND its consequence.
  • Show every step of a conversion — method marks survive a wrong answer.

🧩 What the operating system does

Questions ask you to name a function and say what it actually does. Naming alone earns little.

FunctionWhat it actually does
Memory managementTracks free memory, allocates it, stops one program reaching another's, reclaims it
Process managementCreates processes, records their state, schedules and ends them
File managementDirectory structure, permissions, create/open/delete, hides the disk layout
Device managementDrivers, queuing competing requests, spooling
SecurityAccounts, authentication, permissions, privilege levels
User interfaceGraphical, or command line
Without an OS every program would need its own code for every disk, screen and keyboard, and would only run on the exact hardware it was written for. The OS gives one consistent interface, and stops two programs using one device at once.

⏱️ Scheduling

A core runs one process at a time. Scheduling is the rule deciding which runs next, and for how long — and no single rule is best at everything.

AlgorithmHow it choosesIts weakness
First come first servedArrival orderOne long job blocks everything behind it
Round robinFixed time slice each, in turnEvery switch costs overhead
Shortest job firstLowest expected run timeRun times must be guessed; long jobs starve
PriorityHighest priority firstLow priority can starve unless priorities age
Important: Waiting time is the time before a process starts. Average waiting time = total waiting ÷ number of processes — and you must reorder the processes first if the scheme requires it.

🔔 Polling and interrupts

PollingInterrupts
Who starts itThe CPU asks each deviceThe device signals the CPU
Cost when idleWasted — most checks find nothingNone
ResponseUp to one full cycle lateImmediate
SuitsOne device, nothing else to doA machine doing many things

What happens on an interrupt

  • The processor finishes the instruction it is currently executing
  • Registers and the program counter are saved, so the program can resume
  • The handler routine for that interrupt is looked up and run
  • The saved values are restored and the interrupted program continues
  • Handlers are kept short — while one runs, everything else waits

📝 Exam-style questions

IB-style questionDetermine[4 marks]

Three processes arrive together needing 8 ms, 2 ms and 5 ms of processor time. Determine the average waiting time under first come first served in that order, and under shortest job first.

🔒 Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic →
IB-style questionExplain[4 marks]

A program enters an endless loop. Explain why a pre-emptive scheduler means the machine keeps working, and what would happen under a non-pre-emptive one.

🔒 Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic →
IB-style questionExplain[3 marks]

A keyboard sends a few characters a second while the processor executes billions of instructions in the same time. Explain why interrupts suit this device better than polling.

🔒 Model answer plan

See the mark-by-mark plan — for / against / judgement, with marking guidance — in study mode.

Claim your free topic →

✅ Quick check

Cover the answers.

Which scheduling algorithm gives the lowest AVERAGE waiting time? Shortest job first — but run times must be estimated, and long jobs can starve.

What does pre-emptive mean? The OS can take the processor away from a running process before it finishes.

What is the first thing the processor does when an interrupt arrives? Finishes the instruction it is currently executing — interrupts are checked at the end of a cycle.

Why are interrupt handlers kept short? While one runs, the interrupted program makes no progress and further interrupts are delayed — an event can be missed entirely.

What is thrashing? Spending more time moving data between RAM and disk than doing useful work.


Exam tips

  • Name the OS function AND say what it does — naming alone scores little.
  • Waiting time is the time BEFORE a process starts, not how long it runs.
  • Reorder the processes first if the scheduling scheme requires it.
  • Pre-emptive means the OS can take the processor back; that is what stops one loop freezing the machine.
  • Polling: the CPU asks. Interrupts: the device speaks. Say who starts the conversation.
  • Starvation is fixed by ageing — raising a waiting process's priority over time.

What you'll learn in Topic 1.3

  • 1.3.1 Role of the OS
  • 1.3.2 Functions of the OS
  • 1.3.3 Scheduling
  • 1.3.4 Polling and interrupts
  • 1.3.5 Multitasking and resources
  • 1.3.6 Control system components
  • 1.3.7 Control systems in use
Suggested study order: Read the notes for each sub-topic below → test yourself with flashcards → attempt practice questions → review exam technique.

Study resources — 1.3 Operating and control systems

1.3.1

Role of the OS

Notes
1.3.2

Functions of the OS

Notes
1.3.3

Scheduling

Notes
1.3.4

Polling and interrupts

Notes
1.3.5

Multitasking and resources

Notes
1.3.6

Control system components

Notes
1.3.7

Control systems in use

Notes

Ready to study Operating and control systems?

Get expert practice questions with instant AI feedback, and a study planner tailored to your IB Computer Science HL exam date.

Start studying free

Topic 1.3 Operating and control systems forms a core part of Unit 1: Computer fundamentals in IB Computer Science HL. Mastering these concepts will strengthen your understanding of connected topics across the syllabus and prepare you for exam questions that require analysis, evaluation, and real-world application.

Previous topic
1.2 Data representation and logic
Next topic
1.4 Translation
All Computer Science HL topics
Exam technique

Ready to practice?

Get AI-graded practice questions, mock exams, flashcards, and a personalised study plan — all aligned to your IB syllabus.

Start Studying Free

No credit card required · No time limit