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

1.2 Data representation and logic

29 past paper questions from 18 papers across 15 exam sessions. See what repeats, then practise the same skills with AI marking.

SL archive · 2014 to 2027

1.2 Data representation and logic

Latest exam session: Specimen 2027

questions
29
questions
papers
18
papers
exam sessions
15
exam sessions
micro-topics
4

Micro-topics in 1.2 Data representation and logic

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

  • 28

    1.2.1

    Binary and hex

    19 questions · in 28% of papersAppears in 13 of the 46 Computer Science SL papers analysed (28%), at least once each.

    Frequently tested

    last Spec 27 P1

  • 7

    1.2.2

    Storing data in binary

    3 questions · in 7% of papersAppears in 3 of the 46 Computer Science SL papers analysed (7%), at least once each.

    Occasional

    last May 23 P1 TZ2

  • 4

    1.2.3

    Logic gates

    2 questions · in 4% of papersAppears in 2 of the 46 Computer Science SL papers analysed (4%), at least once each.

    Less common

    last May 22 P1

  • 9

    1.2.4

    Truth tables

    5 questions · in 9% of papersAppears in 4 of the 46 Computer Science SL papers analysed (9%), at least once each.

    Rising

    last Spec 27 P1

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-topic2014201520162017201820192020202120222023202420252027
1.2.1Binary and hexFrequently tested
1Binary and hex, 2014: 1 question·Binary and hex, 2015: 0 questions1Binary and hex, 2016: 1 question·Binary and hex, 2017: 0 questions1Binary and hex, 2018: 1 question2Binary and hex, 2019: 2 questions·Binary and hex, 2020: 0 questions2Binary and hex, 2021: 2 questions3Binary and hex, 2022: 3 questions·Binary and hex, 2023: 0 questions4Binary and hex, 2024: 4 questions4Binary and hex, 2025: 4 questions1Binary and hex, 2027: 1 question
1.2.4Truth tablesRising · last Spec 27 P1
·Truth tables, 2014: 0 questions·Truth tables, 2015: 0 questions·Truth tables, 2016: 0 questions3Truth tables, 2017: 3 questions·Truth tables, 2018: 0 questions·Truth tables, 2019: 0 questions·Truth tables, 2020: 0 questions·Truth tables, 2021: 0 questions·Truth tables, 2022: 0 questions1Truth tables, 2023: 1 question·Truth tables, 2024: 0 questions·Truth tables, 2025: 0 questions1Truth tables, 2027: 1 question
1.2.2Storing data in binaryOccasional
·Storing data in binary, 2014: 0 questions·Storing data in binary, 2015: 0 questions·Storing data in binary, 2016: 0 questions·Storing data in binary, 2017: 0 questions·Storing data in binary, 2018: 0 questions1Storing data in binary, 2019: 1 question·Storing data in binary, 2020: 0 questions·Storing data in binary, 2021: 0 questions·Storing data in binary, 2022: 0 questions2Storing data in binary, 2023: 2 questions·Storing data in binary, 2024: 0 questions·Storing data in binary, 2025: 0 questions·Storing data in binary, 2027: 0 questions
1.2.3Logic gatesLess common
·Logic gates, 2014: 0 questions·Logic gates, 2015: 0 questions·Logic gates, 2016: 0 questions1Logic gates, 2017: 1 question·Logic gates, 2018: 0 questions·Logic gates, 2019: 0 questions·Logic gates, 2020: 0 questions·Logic gates, 2021: 0 questions1Logic gates, 2022: 1 question·Logic gates, 2023: 0 questions·Logic gates, 2024: 0 questions·Logic gates, 2025: 0 questions·Logic gates, 2027: 0 questions
  • Frequently testedin at least a quarter of all papers, and still appearing in the last two years
  • Risingappearing more often in the last two years than before
  • Occasionalin about one paper in ten
  • 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 1.2 Data representation and logic, by exam session

Which papers asked about 1.2 Data representation and logic, and which question numbers. Open a paper to see them highlighted.

  • Specimen 2027

    1 question across 1 paper

  • May 2025

    2 questions across 2 papers

  • May 2024

    2 questions across 2 papers

  • November 2023

    1 question across 1 paper

  • May 2023

    2 questions across 2 papers

  • November 2022

    1 question across 1 paper

  • May 2022

    2 questions across 1 paper

  • November 2021

    1 question across 1 paper

  • May 2021

    1 question across 1 paper

  • November 2019

    1 question across 1 paper

  • May 2018

    1 question across 1 paper

  • November 2017

    1 question across 1 paper

  • May 2017

    1 question across 1 paper

  • May 2016

    1 question across 1 paper

  • November 2014

    1 question across 1 paper

Past Paper Generator · Pro

Every 1.2 Data representation and logic question, unlocked

Generate all 29 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

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 1.2 Data representation and logic?

23 exam sessions from 2014 to 2027, the latest Specimen 2027. Every Paper 1 in every timezone is read and classified in full, which gives 18 papers in this archive.

Which 1.2 Data representation and logic topic comes up most?

Binary and hex (1.2.1): in 28% of papers, last seen Spec 27 P1. Usually "write down / state", worth about 2 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