Programming and options at SL, plus an HL case study

IB Computer Science SL sits Paper 1 (short answer and programming) and Paper 2 (options); HL adds Paper 3, a case study released in advance covering a specific computing scenario in depth. Across all three, the core skill is tracing and writing algorithmic solutions precisely, not just understanding programming concepts in the abstract.

Trace tables — a high-return revision activity

Reading code or pseudocode and predicting its output is tested heavily and is a distinct skill from writing original programs. Practising tracing through unfamiliar pseudocode line by line, recording variable values at each step, builds this specific exam skill directly.

Paper 3 (HL) — preparing the case study in advance

The Paper 3 case study is released before the exam specifically so you can prepare — analyse the scenario thoroughly in advance, understanding its specific technical context, rather than treating it as something to read cold in the exam itself.

Writing pseudocode to IB conventions

  • Use IB's specific pseudocode conventions for loops, conditionals and data structures — not the syntax of whichever language you use for your own programming work.
  • Check loop and array boundaries carefully in trace tables — off-by-one errors are one of the most common, avoidable mistakes.
  • Show your reasoning in algorithm-design questions, since partial credit is often available per correct step.

The Internal Assessment

The IA is a substantial software-development project assessed on the development process as much as the final product — documenting your design decisions and testing process as you go is far easier than reconstructing that record after the fact.

Common content traps

  • Under-preparing the released Paper 3 case study in advance.
  • Off-by-one errors in trace tables and loop boundaries.
  • Writing functionally correct code that ignores the question's required structure or algorithm.

Revising IB Computer Science with ExamPass.ai

ExamPass.ai generates IB Computer Science mock papers and quizzes matched to your HL or SL level, with instant AI marking against IB markbands.