SLIDE 1
CSZone.co.uk
Click to advance · Arrow keys also work
Cambridge IGCSE 0478 · Topic 10 · 10.1

Boolean Logic
& Truth Tables

AND · OR · NOT · Truth Tables · Boolean Expressions

CSZoneCambridge IGCSE Computer Science 0478
AND & OR Truth Tables

Combining Boolean Values

AND
ABA AND B
000
010
100
111
OR
ABA OR B
000
011
101
111
AND: output 1 only when BOTH inputs are 1. OR: output 1 when AT LEAST ONE input is 1.
NOT Truth Table & Boolean Expressions

Inverting & Writing Expressions

NOT
ANOT A
01
10
Boolean expressions use letters for variables (A, B, C) and operators:
AND — also written as A · B or AB
OR — also written as A + B
NOT — also written as Ā (A with overline)
Example expression: X = A AND (B OR NOT C) — evaluate from inside brackets first
Truth Table for Combined Expression

Completing a Truth Table

Expression: X = NOT A AND B
ABNOT AX = NOT A AND B
0010
0111
1000
1100
Always calculate intermediate columns (e.g. NOT A) before the final output column — shows your working clearly in the exam
Exam Practice

Have a go at this question

Cambridge IGCSE 0478 style
Complete the truth table for the expression: X = (A OR B) AND NOT B
4 marks
ABA OR BNOT BX
00010
01100
10111
11100
Key Takeaways

What to Remember

AND: 1 only when BOTH inputs are 1 (like multiplication: 1×1=1 only)
OR: 1 when at least one input is 1 (like addition: 1+0=1, 1+1=1)
NOT: inverts the input — 0 becomes 1, 1 becomes 0
For complex expressions: add intermediate columns to show working; evaluate brackets first