---
title: "Boolean Logic | FiveStudy"
description: "Move without gaps among problem statements, gate functions, Boolean expressions, circuits, and truth tables."
url: https://fivestudy.com/guides/igcse-computer-science-boolean-logic
---

[IGCSE Computer Science](https://fivestudy.com/igcse-computer-science) · Study guide

# Boolean Logic

[Figure: FiveStudy logo]

FiveStudy

IGCSE Computer Science · Topic 10

IGCSE Computer Science · Comprehensive Guide 10

# Topic 10 · *Boolean Logic*

Move without gaps among problem statements, gate functions, Boolean expressions, circuits, and truth tables.

3 lesson sections · 3 worked applications · Paper 2 · Cambridge 0478 (2026–2028)

Prerequisite check

Binary inputs and outputs, systematic row ordering, and nested expression reading.

Exam reasoning lens

Draw the circuit for the statement given without simplification. Complete intermediate gate outputs before the final column.

Problem statement →Logic expression →Gate circuit →Truth table →Output

## In this guide

1. Logic Gates & Truth Tables
2. Logic Circuits & Boolean Expressions
3. Logic Scenarios & Problem Solving

Topic 10 · Section 1

## Logic Gates & Truth Tables

The defining description of **NOT** is “is the single input gate and reverses its input.” Connect it with **AND**, whose role is “outputs 1 only when both inputs are 1.”

### Required vocabulary and boundaries

| Idea | Precise role | Evidence or example |
| --- | --- | --- |
| **NOT** | is the single input gate and reverses its input | NOT 0 = 1 in a truth table |
| **AND** | outputs 1 only when both inputs are 1 | 1 AND 1 = 1 |
| **OR** | outputs 1 when at least one input is 1 | 0 OR 1 = 1 |
| **NAND** | the inverse of AND | 1 NAND 1 = 0 |
| **NOR** | the inverse of OR | 0 NOR 0 = 1 |
| **XOR (EOR)** | outputs 1 when its two inputs differ | 1 XOR 0 = 1 |

### Four-step exam routine

**1**

Identify the exact clue and name **NOT** only when its defining role fits.

**2**

State the mechanism or boundary: outputs 1 only when both inputs are 1.

**3**

Apply the idea to evidence such as “0 OR 1 = 1.”

**4**

Reject the tempting error that is identical to AND.

Method and reasoning

### Reason Before Naming

Truth tables make gate rules visible because each row tests one exact input combination.

Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.

**Answer pattern**
NAND is the opposite of AND, so it outputs 0 only when both inputs are 1.

| Scenario clue | What it proves |
| --- | --- |
| invert one input | NOT |
| both required | AND |
| either allowed | OR |
| different inputs | XOR |
| opposite of AND | NAND |
| opposite of OR | NOR |

Worked application

### When The Scenario Is Less Obvious

The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.

- **logic gate**: digital circuit that applies a logic rule
- **input**: binary value entering a gate
- **output**: binary value produced by a gate
- **truth table**: table showing all input combinations and outputs
- **inversion**: changing 0 to 1 or 1 to 0

A full answer names the gate rule and uses the exact input row as evidence.

| Term | Use in this lesson |
| --- | --- |
| logic gate | digital circuit that applies a logic rule |
| input | binary value entering a gate |
| output | binary value produced by a gate |
| truth table | table showing all input combinations and outputs |
| inversion | changing 0 to 1 or 1 to 0 |

Boundary and misconception

### A Common Mix-Up

A common mistake is treating XOR like OR.

**Fix:** Check whether the gate is inverted, then list rows in binary order.

| Mistake | Correction |
| --- | --- |
| A common mistake is treating XOR like OR. | Check whether the gate is inverted, then list rows in binary order. |

**Common mistake**

A student may claim that outputs 1 when both inputs match. Repair it by stating that outputs 1 when its two inputs differ.

**Check your understanding**

Which idea fits “0 NOR 0 = 1,” and what does it do?

**Show answer**

**NOR**: the inverse of OR.

Topic 10 · Section 2

## Logic Circuits & Boolean Expressions

The defining description of **logic-expression-to-circuit conversion** is “creates a logic circuit in the stated Boolean or logic expression structure without simplification.” Connect it with **logic-circuit-to-expression conversion**, whose role is “follows connections from inputs through each gate to write the final logic expression.”

### Required vocabulary and boundaries

| Idea | Precise role | Evidence or example |
| --- | --- | --- |
| **logic-expression-to-circuit conversion** | creates a logic circuit in the stated Boolean or logic expression structure without simplification | A AND (B OR C) uses OR before AND |
| **logic-circuit-to-expression conversion** | follows connections from inputs through each gate to write the final logic expression | write an inner gate result inside brackets |
| **truth-table input rows** | contain every possible binary input combination | eight rows for three inputs |
| **intermediate gate output** | records a gate's result before it feeds a later gate | X = B OR C before Output = A AND X |
| **logic-circuit limit** | uses no more than three inputs and one output when converting a problem statement, truth table, or logic expression | inputs A, B, C and one Output |
| **unsimplified circuit rule** | draws the circuit for the exact statement given even if algebraic simplification is possible | retaining a specified NOT and AND arrangement |

### Four-step exam routine

**1**

Identify the exact clue and name **logic-expression-to-circuit conversion** only when its defining role fits.

**2**

State the mechanism or boundary: follows connections from inputs through each gate to write the final logic expression.

**3**

Apply the idea to evidence such as “eight rows for three inputs.”

**4**

Reject the tempting error that must always equal the final circuit output.

Method and reasoning

### Reason Before Naming

Tracing is about evidence: every final output should be supported by earlier gate outputs.

Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.

**Answer pattern**
Intermediate outputs are needed because later gates use those values as their inputs.

| Scenario clue | What it proves |
| --- | --- |
| A=1, B=1 | A AND B = 1 |
| C=0 | NOT C = 1 |
| 1 OR 1 | X = 1 |
| A XOR B | different-input check |

Worked application

### When The Scenario Is Less Obvious

The question may include a boundary case or a tempting wrong answer. Use the exact role in the scenario as evidence.

- **logic circuit**: connected gates that produce a final output
- **Boolean expression**: written form of a logic circuit
- **intermediate output**: result from a gate before the final output
- **brackets**: symbols showing which part to evaluate first
- **trace**: work through the circuit step by step

A strong answer gives a trace: input values, intermediate outputs, then final output.

| Term | Use in this lesson |
| --- | --- |
| logic circuit | connected gates that produce a final output |
| Boolean expression | written form of a logic circuit |
| intermediate output | result from a gate before the final output |
| brackets | symbols showing which part to evaluate first |
| trace | work through the circuit step by step |

Boundary and misconception

### A Common Mix-Up

A common mistake is skipping intermediate outputs.

**Fix:** Work left to right through the circuit structure, but evaluate bracketed or inverted parts before the final gate.

| Mistake | Correction |
| --- | --- |
| A common mistake is skipping intermediate outputs. | Work left to right through the circuit structure, but evaluate bracketed or inverted parts before the final gate. |

**Common mistake**

A student may claim that removes gates whenever the student prefers. Repair it by stating that draws the circuit for the exact statement given even if algebraic simplification is possible.

**Check your understanding**

Which idea fits “inputs A, B, C and one Output,” and what does it do?

**Show answer**

**logic-circuit limit**: uses no more than three inputs and one output when converting a problem statement, truth table, or logic expression.

Topic 10 · Section 3

## Logic Scenarios & Problem Solving

The defining description of **AND clue** is “both or all stated conditions must be true.” Connect it with **OR clue**, whose role is “at least one stated condition must be true.”

### Required vocabulary and boundaries

| Idea | Precise role | Evidence or example |
| --- | --- | --- |
| **AND clue** | both or all stated conditions must be true | dark and motion detected |
| **OR clue** | at least one stated condition must be true | smoke or heat detected |
| **NOT clue** | the stated condition is false or inactive | door is not closed |
| **input variable** | represents one sensor, switch, or condition | M means motion detected |
| **output variable** | represents the final action or result | A means alarm sounds |
| **given structure** | a requested circuit is drawn without simplification and with at most three inputs and one output | A AND (B OR C) |

### Four-step exam routine

**1**

Identify the exact clue and name **AND clue** only when its defining role fits.

**2**

State the mechanism or boundary: at least one stated condition must be true.

**3**

Apply the idea to evidence such as “door is not closed.”

**4**

Reject the tempting error that is the final alarm output.

Method and reasoning

### Reason Before Naming

A good expression should make the real system rule unambiguous.

Start by underlining the clue in the scenario, then decide what job that clue is describing. This keeps the answer tied to the concept being assessed.

**Answer pattern**
B = S OR E because smoke detection or the emergency button is enough to sound the buzzer.

| Scenario clue | What it proves |
| --- | --- |
| dark and motion | D AND M |
| smoke or heat | S OR H |
| door not closed | NOT D |
| dry and (manual or timer) | D AND (M OR T) |

Worked application

### Streetlamp Scenario

A lamp turns on when it is dark and motion is detected.

Let D mean dark and M mean motion. Both conditions are required.

**Result:** L = D AND M.

| Word clue | Logic |
| --- | --- |
| dark | D |
| motion | M |
| and | AND |

Boundary and misconception

### A Common Mix-Up

A common mistake is choosing a gate from the story topic instead of the connector words.

**Fix:** Map variables first, then translate connector words into gates.

| Mistake | Correction |
| --- | --- |
| A common mistake is choosing a gate from the story topic instead of the connector words. | Map variables first, then translate connector words into gates. |

**Common mistake**

A student may claim that must always be simplified first. Repair it by stating that a requested circuit is drawn without simplification and with at most three inputs and one output.

**Check your understanding**

Which idea fits “A means alarm sounds,” and what does it do?

**Show answer**

**output variable**: represents the final action or result.

Paper 2 response lab

## Turn knowledge into marks

A high-quality response does more than recall a term. It selects the command word, states the exact role, follows the mechanism in order, and connects the effect to the scenario.

### Define precisely

For **NOT**, begin with the defining role: is the single input gate and reverses its input. Do not replace the definition with an example.

### Describe a process

Use an ordered chain. Name what enters, what changes or is checked, and what result follows. A useful anchor here is “0 OR 1 = 1.”

### Apply or justify

Quote the scenario need, select **output variable**, then link its role — represents the final action or result — to the required outcome.

### Repair a misconception

Do not accept the claim that must always be simplified first. Replace it with the exact boundary: a requested circuit is drawn without simplification and with at most three inputs and one output.

### Mark-by-mark response ladder

1. **Name:** use the exact syllabus term.
2. **Role:** define what that term does or represents.
3. **Mechanism:** describe the relevant steps in their logical order.
4. **Context:** explain why that mechanism matters in the stated scenario.
5. **Boundary:** avoid claiming more than the method guarantees.

## Last-pass checklist

**Logic Gates & Truth Tables**NOT — is the single input gate and reverses its input.

**Logic Circuits & Boolean Expressions**logic-expression-to-circuit conversion — creates a logic circuit in the stated Boolean or logic expression structure without simplification.

**Logic Scenarios & Problem Solving**AND clue — both or all stated conditions must be true.

Mapped to Cambridge IGCSE Computer Science 0478 · 2026–2028 syllabus, version 5

FiveStudy · IGCSE Computer Science · Topic 10

Guide 10 of 10
