IB Computer Science SL · 2014 to 2025, and the 2027 specimen
Computer Science SL Paper 2
341 past paper questions from 20 papers across 19 exam sessions. See what repeats, then practise the same skills with AI marking.
By paper:Paper 1Paper 2All papers
SL archive · 2014 to 2027
Paper 2
Latest exam session: Specimen 2027
- questions
- 341
- questions
- papers
- 20
- papers
- exam sessions
- 19
- exam sessions
- micro-topics
- 28
Where Paper 2 marks go, by unit
In syllabus order. The ring is the share of the marks each one carries.
Unit 1
Computer fundamentals
1% of marks7 of the 812 marks across the 46 Computer Science SL papers analysed (1%) were on this unit. A past-paper pattern, not a guarantee for your next paper. · 2 questions
Unit 3
Databases
44% of marks358 of the 812 marks across the 46 Computer Science SL papers analysed (44%) were on this unit. A past-paper pattern, not a guarantee for your next paper. · 152 questions
- DueUpdating data with SQL
- FadingRelational databases
Unit 4
Machine learning
1% of marks7 of the 812 marks across the 46 Computer Science SL papers analysed (1%) were on this unit. A past-paper pattern, not a guarantee for your next paper. · 2 questions
Unit 5
Computational thinking
3% of marks24 of the 812 marks across the 46 Computer Science SL papers analysed (3%) were on this unit. A past-paper pattern, not a guarantee for your next paper. · 8 questions
Unit 6
Programming
20% of marks159 of the 812 marks across the 46 Computer Science SL papers analysed (20%) were on this unit. A past-paper pattern, not a guarantee for your next paper. · 75 questions
- RisingArrays and lists
- RisingFile processing
Unit 7
Object-oriented programming
32% of marks257 of the 812 marks across the 46 Computer Science SL papers analysed (32%) were on this unit. A past-paper pattern, not a guarantee for your next paper. · 102 questions
- RisingEncapsulation
- RisingStatic vs non-static
Exam pattern
How often each micro-topic has been examined, year by year. Each label is explained under the grid.
Does it repeat?
Top 4 of 28 micro-topics for the next sitting. Numbers are questions per year.
fewermore
| Micro-topic | 2014 | 2015 | 2016 | 2017 | 2018 | 2019 | 2020 | 2021 | 2022 | 2023 | 2024 | 2025 | 2027 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
7.1.4Classes and objects | 3Classes and objects, 2014: 3 questions | 4Classes and objects, 2015: 4 questions | 3Classes and objects, 2016: 3 questions | 7Classes and objects, 2017: 7 questions | 4Classes and objects, 2018: 4 questions | 2Classes and objects, 2019: 2 questions | 1Classes and objects, 2020: 1 question | ·Classes and objects, 2021: 0 questions | ·Classes and objects, 2022: 0 questions | 3Classes and objects, 2023: 3 questions | 8Classes and objects, 2024: 8 questions | 6Classes and objects, 2025: 6 questions | 3Classes and objects, 2027: 3 questions |
| 12Arrays and lists, 2014: 12 questions | 3Arrays and lists, 2015: 3 questions | ·Arrays and lists, 2016: 0 questions | ·Arrays and lists, 2017: 0 questions | 5Arrays and lists, 2018: 5 questions | ·Arrays and lists, 2019: 0 questions | 2Arrays and lists, 2020: 2 questions | ·Arrays and lists, 2021: 0 questions | ·Arrays and lists, 2022: 0 questions | 4Arrays and lists, 2023: 4 questions | 3Arrays and lists, 2024: 3 questions | ·Arrays and lists, 2025: 0 questions | 3Arrays and lists, 2027: 3 questions | |
| ·Encapsulation, 2014: 0 questions | ·Encapsulation, 2015: 0 questions | ·Encapsulation, 2016: 0 questions | ·Encapsulation, 2017: 0 questions | ·Encapsulation, 2018: 0 questions | 1Encapsulation, 2019: 1 question | ·Encapsulation, 2020: 0 questions | ·Encapsulation, 2021: 0 questions | ·Encapsulation, 2022: 0 questions | ·Encapsulation, 2023: 0 questions | 2Encapsulation, 2024: 2 questions | 1Encapsulation, 2025: 1 question | 1Encapsulation, 2027: 1 question | |
| ·Static vs non-static, 2014: 0 questions | ·Static vs non-static, 2015: 0 questions | ·Static vs non-static, 2016: 0 questions | ·Static vs non-static, 2017: 0 questions | ·Static vs non-static, 2018: 0 questions | ·Static vs non-static, 2019: 0 questions | 1Static vs non-static, 2020: 1 question | ·Static vs non-static, 2021: 0 questions | ·Static vs non-static, 2022: 0 questions | 1Static vs non-static, 2023: 1 question | ·Static vs non-static, 2024: 0 questions | ·Static vs non-static, 2025: 0 questions | 1Static vs non-static, 2027: 1 question |
11 more micro-topics with a free account
- DueUpdating data with SQL· last May 24 P2
- Risingappearing more often in the last two years than before
- Dueusually examined, but missing from the last two exam sessions
Free account · no card needed
See the full exam pattern
Every micro-topic in the heatmap and the complete watch list, free with an account.
You come straight back to this page with your set built.
- With a free account
- 3 generated sets of 10 past-paper questions, any scope
- One AI-marked practice set with step-by-step feedback
- The full exam pattern: every micro-topic and the watch list
Past paper generator
Generate Computer Science SL past paper questions
Choose what to revise and build a set in one click. Every question stays whole, so multi-part questions come as they appeared in the exam.
- 1Pick any unit, topic or micro-topic
- 2Generate whole exam questions from the archive
- 3Practise the same skills with AI marking
Questions on Paper 2, by exam session
Which papers asked about Paper 2, and which question numbers. Open a paper to see them highlighted.
Specimen 2027
1 paper
May 2025
2 papers
November 2024
1 paper
May 2024
1 paper
November 2023
1 paper
May 2023
1 paper
November 2020
1 paper
November 2019
1 paper
May 2019
1 paper
November 2018
1 paper
May 2018
1 paper
November 2017
1 paper
May 2017
1 paper
November 2016
1 paper
May 2016
1 paper
November 2015
1 paper
May 2015
1 paper
November 2014
1 paper
May 2014
1 paper
Every Paper 2 question, unlocked
Generate any unit, topic or micro-topic in full, practise every question with AI marking, and see how each mark is awarded.
- Every past-paper question in any unit, topic or micro-topic
- Generate sets of 20 or all questions, as often as you like
- Unlimited practice with AI marking and worked answers
- See how every mark is awarded for each question
- Predicted papers and crash courses built from the same data
Used by IB students preparing for Nov 2026, May 2027 and May 2028
From €6/mo. 14-day money-back guarantee. Cancel anytime.
Frequently asked questions
Short answers about this page.
Which Computer Science SL exam sessions are covered for Paper 2?
23 exam sessions from 2014 to 2027, the latest Specimen 2027. Every Paper 2 in every timezone is read and classified in full, which gives 20 papers in this archive.
Which Paper 2 topic comes up most?
Classes and objects (7.1.4): in 37% of papers, last seen Spec 27 P2. Usually "construct", worth about 6.6 marks in a paper that includes it.
Can I see the original question and mark scheme?
No. The wording belongs to the IB. You get the citation, the marks, the command term and the skill tested, plus our own matched practice questions with worked answers and AI marking.
What do "banker", "due" and "rising" mean?
Banker: examined in at least one sitting in four and still appearing. Due: regular before, but absent for the last two exam sessions. Rising: clearly more common in the last two years. Our classification of real papers, not an IB statistic.
What is free and what needs Pro?
Reading this page and the exam pattern is free. A free account generates three sets of ten questions and launches one practice set. Pro opens every question in any scope, sets of twenty or all, and unlimited practice.
Keep going
More Computer Science SL exam preparation
Every question, by paper
What each Computer Science SL paper tests across all its sittings: the marks by unit and the micro-topics it keeps coming back to.
Open the paper analysis
All IB past papers
Every subject we have classified by topic, with the same exam-pattern analysis.
Browse subjects