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 ScienceTopic 1.2Truth tables
Back to Computer Science Topics
1.2.45 min read

Truth tables

IB Computer Science • Unit 1

AI-powered feedback

Stop guessing — know where you lost marks

Get instant, examiner-style feedback on every answer. See exactly how to improve and what the markscheme expects.

Try It Free

Contents

  • Every combination, in order
  • From a circuit to a table
  • Shorter ways to write the same table
  • Exam-style question
The big idea: A truth table lists every possible set of inputs and what the circuit outputs for each one.

It is the complete answer. Once the table is filled in, there is nothing left to wonder about.
How many rows: Two inputs give 4 rows, three give 8, four give 16 — the count doubles with every extra input.

The rule is 2 to the power of the number of inputs.
Write the inputs the same way every time: Count upwards in binary: 000, 001, 010, 011, 100, 101, 110, 111.

The rightmost column alternates every row, the next every two rows, the next every four. Follow that pattern and you cannot miss a combination.

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
Do one gate at a time: Give every gate in the circuit its own column, then work left to right.

Never try to jump from the inputs straight to the final output — that is where marks are lost.

X = (A AND B) OR NOT C. Step through all eight input combinations and watch the table fill in.

Interactive diagram

Explore the labelled diagram, charts and maps for this topic in full study mode.

Claim your free topic
1

1 — Set up the columns

2

2 — Fill the input columns

3

3 — Work out each gate column

4

4 — Combine for the output

Stop wasting time on topics you know

Our AI identifies your weak areas and focuses your study time where it matters. No more overstudying easy topics.

Try Smart Study FreeYour first topic is free to keep • No credit card required
A table is also an expression: Write · for AND, + for OR, and NOT for inversion.

So the circuit above is X = (A·B) + NOT C. Table, circuit and expression are three views of one thing.

Algebraic simplification

  • Apply Boolean rules to shorten the expression
  • A + A·B = A — if A alone is enough, the rest is redundant
  • A·A = A and A + A = A
  • A·(NOT A) = 0 and A + (NOT A) = 1
  • Fast when you spot the pattern, easy to miss one

Karnaugh map

  • Draw the outputs in a grid, then read the answer off
  • Neighbouring squares differ by one variable only
  • Circle groups of 1s in sizes 1, 2, 4 or 8
  • A group spanning both values of a variable drops it
  • Slower to draw, but it finds the simplification for you
1

Using a Karnaugh map

2

Circle and read

3

Why simplify at all

How this is tested — you must produce the whole table with working columns, not just the final answer. It comes up two ways:

Paper 1 Section A

  • Construct a truth table from a circuit or a description, 3-6 marks
  • Predict the output for stated inputs
  • Write or simplify the Boolean expression

Paper 1 Section B — case study

  • Build the table for a rule in the case study
  • Say what happens when one input changes
The classic trap: Missing rows. Three inputs means eight rows, always — and they must be counted upwards in binary. A table with six rows loses the marks for the ones that are not there.
IB-style questionConstruct[5 marks]

A pump runs when the tank is not full and either the manual switch is on or the timer is active. Construct a truth table for this rule, using F (full), M (manual) and T (timer).

Model answer plan

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

Claim your free topic

Try an IB Exam Question — Free AI Feedback

Test yourself on Truth tables. Write your answer and get instant AI feedback — just like a real IB examiner.

why swapping the two inputs of an AND gate never changes its truth table. [2 marks]

Related Computer Science Topics

Continue learning with these related topics from the same unit:

1.1.1CPU components
1.1.2The GPU
1.1.4Primary memory
1.1.5Fetch–decode–execute
View all Computer Science topics

Improve your exam technique

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

Previous
1.2.3Logic gates
Next
Logic diagrams1.2.5

21 practice questions on Truth tables

Students who practiced this topic on Aimnova scored 82% on average. Try free practice questions and get instant AI feedback.

Try 3 Free QuestionsView All Computer Science Topics