Learn in your language
Skip to content
IGCSE · Cambridge (CIE) · 0478

Complete a truth table from an expression

Generate each output row from a named Boolean expression, including expressions with three inputs.

Cambridge IGCSE Computer Science 0478 · Boolean logic · 2026–2028 Version 6 · Topic 10
Exam scope and assessment notes

This original learning sequence follows Topic 10 of Cambridge IGCSE Computer Science 0478, 2026–2028 syllabus Version 6. It covers standard symbols and functions for NOT, AND, OR, NAND, NOR and XOR/EOR, and translation among statements, expressions, circuits and truth tables. NOT has one input; other gates have at most two. Circuit practice is limited to three inputs and one output and keeps the requested design without simplification. Lessons and checks support learning but do not award an official Cambridge grade. Full timed-paper practice, practical programming in an executable workspace and human subject-teacher review remain outstanding; the separate 2029–2031 syllabus is not mapped here.

Before you begin

  • Be able to read binary 0 and 1 as the two possible logic values. Each lesson introduces the gate or translation skill it uses.

Work on paper. Try each question before revealing help, and explain why your method works.

Quick readiness check

What is the first step before completing a three-input expression table?

What you will learn

  • Choose the full set of input rows
  • Calculate terms systematically
  • Record the final output for every row

Core idea

An expression determines one output for each possible input combination. For expressions with intermediate terms, add a column for each term before combining them into the final output.

In a logic circuit, 1 represents TRUE and 0 represents FALSE. A gate applies a defined rule to its input value or values and produces one binary output.

A reliable method

Set up all rows first. Evaluate brackets or NOT terms, then the final operation, one row at a time. For three inputs use all eight combinations; a correct rule applied to an incomplete table is still an incomplete answer.

Keep the given statement, expression, diagram or table in view while working. Check each row or connection against the rule, and preserve the stated circuit structure; the syllabus does not ask you to simplify it.

Pause and explain

For A=1, B=0, C=1, evaluate (A OR B) AND C.

Put the idea to work

Worked example

Complete Y=(A OR B) AND C for row A=0, B=1, C=1.

Show the worked solution
  1. A OR B is 0 OR 1, so it is 1.
  2. Combine that result with C=1 using AND.
  3. The output is 1.

Answer Y=1.

Try a topic test

Choose Easy, Normal or Difficult. Save your answers and open worked review after finishing.

Test this topic →

From guided practice to a new situation

Write your answer and reasoning first. Use a hint only if you are stuck. The model solution is for self-checking; your written work is not automatically marked.

1 · Guided

For Y=A AND NOT B, calculate the output for 00,01,10,11.

Give me a hint

Create a NOT B intermediate value.

Compare my reasoning
  1. NOT B values are 1,0,1,0.
  2. AND each with A values 0,0,1,1.
  3. The outputs are 0,0,1,0.

Y: 0, 0, 1, 0.

Look for these in your work

  • Intermediate NOT
  • Final outputs
2 · Independent

Complete (A XOR B) OR C for row A=1, B=1, C=0.

Give me a hint

Evaluate XOR before OR.

Compare my reasoning
  1. 1 XOR 1=0.
  2. 0 OR 0=0.

0.

Look for these in your work

  • XOR evaluated
  • OR evaluated
3 · Transfer

A system outputs Y=(A AND B) OR (NOT C). Find Y for A,B,C=1,0,0 and explain each intermediate value.

Give me a hint

Compute AND and NOT C separately before OR.

Compare my reasoning
  1. A AND B=1 AND 0=0.
  2. NOT C=NOT 0=1.
  3. 0 OR 1=1.

Y=1; the AND term is 0 and NOT C is 1, so the final OR is 1.

Look for these in your work

  • AND term
  • NOT term
  • Final OR

Common mistakes

  • Using only two rows for three inputs
  • Skipping a bracketed term
  • Copying a previous row's output
Recall without your notes

What can you explain now?

For A=0, B=0, C=1, find (A OR B) AND C.

Compare with the explanation

0

A OR B is 0; 0 AND 1 is 0.

After trying it yourself, choose your next review. This is your self-assessment.

Your review choice appears on Today. Sign in to sync it across devices.

Make it stick

When an expression has several operations, why are intermediate columns useful?

If you needed the solution, close it and solve the problem again from a blank page. A correct answer is stronger when you can explain the reason for each step.

Keep learning Computer Science

Course scope and assessment

165 original lessons map the listed objectives across all 10 main topics in the 2026–2028 Version 6 syllabus, with worked explanations and guided, independent and transfer practice. This is mapped teaching coverage, not proof of full exam readiness. Three earlier starter lessons remain available but are not counted as syllabus-mapped teaching. Practical programming experience in an executable browser workspace, full timed-paper practice, human subject-teacher review and the separate 2029–2031 syllabus remain outstanding. Practice is self-checked and does not award an official Cambridge grade.

StudyForA · Learn with understanding

Original teaching content and links to official sources. Check your exam year and qualification before using a resource.