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.3Multitasking and resources
Back to Computer Science HL Topics
1.3.54 min read

Multitasking and resources (Computer Science HL)

IB Computer Science • Unit 1

Your first topic is free to keep

Know exactly what to write for full marks

Practice with exam questions and get AI feedback that shows you the perfect answer — what examiners want to see.

Start Free

Contents

  • Everything at once, on one processor
  • The context switch
  • Allocating the resources
  • Exam-style question
The big idea: A single core runs one instruction at a time. Multitasking is the OS switching between processes so fast that all of them appear to run together.

What looks like simultaneity is rapid switching — and every switch costs real work.
ConcurrencyParallelism
MeansSeveral tasks in progressSeveral tasks executing
NeedsOne core is enoughMore than one core
Achieved bySwitching between themGenuinely at the same instant
A single core givesConcurrency onlyNever parallelism

Free preview

This is the free notes preview

You're reading the free notes. Aimnova Pro unlocks the full study experience — and you can try it with your first topic free to keep:

  • FlashcardsLock in vocabulary and key terms with spaced repetition.
  • Practice questionsAnswer exam-style questions and get instant AI marking.
  • Mock exams & past-paper vaultSit full mocks and see exactly how examiners award marks.
  • Personalised study planA daily plan built around your exam date and weak areas.
Start Studying Free Full access to Aimnova Pro · cancel anytime
1

Save

2

Choose

3

Restore

4

Resume

Switching is not free: Every switch spends time saving and restoring state, and the new process arrives to find the cache full of the previous one's data — so its first memory accesses are slow.

Switch too often and the system spends more time switching than working. That is thrashing.

Get feedback like a real examiner

Submit your answers and get instant feedback — what you did well, what's missing, and exactly what to write to score full marks.

Try AI Tutor FreeYour first topic is free to keep • No credit card required

What the OS is handing out

  • CPU time — divided into slices by the scheduler
  • Memory — each process given its own space, and kept out of everyone else's
  • Devices — one process at a time may hold a printer or a file
  • Files and locks — access serialised so two writers cannot corrupt one file
Deadlock, and its four conditions: Process A holds the printer and wants the scanner; B holds the scanner and wants the printer. Neither can continue.

It needs all four of: mutual exclusion, hold-and-wait, no pre-emption, and circular wait. Break any one and deadlock becomes impossible — which is how operating systems prevent it.
Starvation is not deadlock: Deadlock: nobody can proceed, ever. Starvation: the system is running fine, but one low-priority process never gets a turn because higher-priority work keeps arriving.

Starvation is fixed by ageing — raising priority the longer a process waits.

How this is tested — you must explain apparent simultaneity as switching, and name what it costs. It comes up two ways:

Paper 1 Section A

  • Explain the role of the OS in multitasking, 3-4 marks
  • Describe what happens in a context switch
  • Distinguish concurrency from parallelism

Paper 1 Section B — case study

  • Explain a deadlock in a scenario
  • Justify why switching has a cost
The classic trap: Saying a single-core computer runs programs "at the same time". It runs one instruction at a time and switches rapidly — that is concurrency, not parallelism.
IB-style questionExplain[5 marks]

A single-core laptop appears to run a browser, a music player and a download at once. Explain how the operating system achieves this and what it costs.

Model answer plan

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

Claim your free topic

IB Exam Questions on Multitasking and resources

Practice with IB-style questions filtered to Topic 1.3.5. Get instant AI feedback on every answer.

Practice Topic 1.3.5 QuestionsBrowse All Computer Science HL Topics

How Multitasking and resources Appears in IB Exams

Examiners use specific command terms when asking about this topic. Here's what to expect:

Define

Give the precise meaning of key terms related to Multitasking and resources.

AO1
Describe

Give a detailed account of processes or features in Multitasking and resources.

AO2
Explain

Give reasons WHY — cause and effect within Multitasking and resources.

AO3
Evaluate

Weigh strengths AND limitations of approaches in Multitasking and resources.

AO3
Discuss

Present arguments FOR and AGAINST with a balanced conclusion.

AO3

See the full IB Command Terms guide →

Related Computer Science HL Topics

Continue learning with these related topics from the same unit:

1.1.1CPU components
1.1.2The GPU
1.1.3CPU vs GPU
1.1.4Primary memory
View all Computer Science HL topics

Improve your exam technique

Command terms, paper structure, and mark-scheme tips for Computer Science HL

Previous
1.3.4Polling and interrupts
Next
Control system components1.3.6

Make these notes count

Reading notes is just the start. Test yourself with IB-style questions and get feedback that shows you what examiners want.

Start FreeView All Computer Science HL Topics