IB Computer Science SL · 2014 to 2025, and the 2027 specimen

6.4 Programming algorithms

24 past paper questions from 16 papers across 12 exam sessions. See what repeats, then practise the same skills with AI marking.

Starter set across the most-tested skills, with AI marking and model answers.

Generate a custom set

SL archive · 2015 to 2027

6.4 Programming algorithms

Latest exam session: Specimen 2027

questions
questions
papers
papers
exam sessions
exam sessions
By year3micro-topics

Micro-topics in 6.4 Programming algorithms

In syllabus order. The ring is the share of papers each appears in.

  • 2

    6.4.1

    Big O notation

    1 question · in 2% of papers

    Less common

    last Spec 27 P2

  • 19

    6.4.2

    Linear and binary search

    13 questions · in 19% of papers

    Due

    last Nov 23 P1

  • 15

    6.4.3

    Bubble and selection sort

    10 questions · in 15% of papers

    Due

    last May 24 P1 TZ2

Exam pattern

How often each micro-topic has been examined, year by year. Each label is explained under the grid.

Does it repeat?

Questions per year for each micro-topic.

fewermore

Micro-topic20142015201620172018201920202021202220232024202520262027
6.4.2Linear and binary searchDue · last Nov 23 P1
·Linear and binary search, 2014: 0 questions1Linear and binary search, 2015: 1 question·Linear and binary search, 2016: 0 questions2Linear and binary search, 2017: 2 questions2Linear and binary search, 2018: 2 questions·Linear and binary search, 2019: 0 questions2Linear and binary search, 2020: 2 questions1Linear and binary search, 2021: 1 question·Linear and binary search, 2022: 0 questions5Linear and binary search, 2023: 5 questions·Linear and binary search, 2024: 0 questions·Linear and binary search, 2025: 0 questions·Linear and binary search, 2026: 0 questions·Linear and binary search, 2027: 0 questions
6.4.3Bubble and selection sortDue · last May 24 P1 TZ2
·Bubble and selection sort, 2014: 0 questions1Bubble and selection sort, 2015: 1 question·Bubble and selection sort, 2016: 0 questions1Bubble and selection sort, 2017: 1 question·Bubble and selection sort, 2018: 0 questions3Bubble and selection sort, 2019: 3 questions1Bubble and selection sort, 2020: 1 question2Bubble and selection sort, 2021: 2 questions·Bubble and selection sort, 2022: 0 questions·Bubble and selection sort, 2023: 0 questions2Bubble and selection sort, 2024: 2 questions·Bubble and selection sort, 2025: 0 questions·Bubble and selection sort, 2026: 0 questions·Bubble and selection sort, 2027: 0 questions
6.4.1Big O notationLess common
·Big O notation, 2014: 0 questions·Big O notation, 2015: 0 questions·Big O notation, 2016: 0 questions·Big O notation, 2017: 0 questions·Big O notation, 2018: 0 questions·Big O notation, 2019: 0 questions·Big O notation, 2020: 0 questions·Big O notation, 2021: 0 questions·Big O notation, 2022: 0 questions·Big O notation, 2023: 0 questions·Big O notation, 2024: 0 questions·Big O notation, 2025: 0 questions·Big O notation, 2026: 0 questions1Big O notation, 2027: 1 question
  • Dueusually examined, but missing from the last two exam sessions
  • Less commonin fewer than one paper in fifteen

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.

  1. 1Pick any unit, topic or micro-topic
  2. 2Generate whole exam questions from the archive
  3. 3Practise the same skills with AI marking
Loading the generator

Questions on 6.4 Programming algorithms, by exam session

Which papers asked about 6.4 Programming algorithms, and which question numbers. Open a paper to see them highlighted.

  • Specimen 2027

    1 question across 1 paper

  • May 2024

    2 questions across 2 papers

  • November 2023

    1 question across 1 paper

  • May 2023

    2 questions across 2 papers

  • November 2021

    1 question across 1 paper

  • May 2021

    1 question across 1 paper

  • November 2020

    2 questions across 1 paper

  • May 2019

    2 questions across 2 papers

  • November 2018

    2 questions across 2 papers

  • November 2017

    1 question across 1 paper

  • May 2017

    2 questions across 1 paper

  • May 2015

    2 questions across 1 paper

Past Paper Generator · Pro

Every 6.4 Programming algorithms question, unlocked

Generate all 24 questions in this topic at once, practise every one 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
Unlock all Computer Science SL past paper questions

Used by IB students preparing for Nov 2026, May 2027 and May 2028

From €8.29/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 6.4 Programming algorithms?

24 exam sessions from 2015 to 2027, the latest Specimen 2027. Every Paper 1 and 2 in every timezone is read and classified in full, which gives 16 papers in this archive.

Which 6.4 Programming algorithms topic comes up most?

Linear and binary search (6.4.2): in 19% of papers, last seen Nov 23 P1. Usually "Construct", worth about 4.8 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

Practise 6.4 Programming algorithms the way it is examined.

Pick any unit, topic or micro-topic, see what repeats, then practise the same skills with AI marking.