VIEW THIS AS

Auto mode follows the Route Engine until you choose a viewpoint.

YOU ARE HERE

ROUTE CHECK

CONNECTED TO

WHAT NEXT

Use the canonical route for this room, or HELP if you are unsure.

PG3 G3 Computing: Why Does My Child Confuse AND, OR, NOT and XOR in Truth Tables?

Three students work together at a classroom table, reviewing open textbooks and notes.

AND produces a true output when both inputs are true, OR produces true when at least one input is true, NOT reverses a Boolean value, and XOR produces true when exactly one of its two inputs is true. A PG3 student may memorise gate symbols yet confuse ordinary OR with exclusive OR or read a compound statement in the wrong order.

Parents can help by using 0 and 1 cards to test each input combination, then asking the child to explain one circuit or Boolean statement in ordinary language. Draw the truth table before attempting a complex gate network. The 2027 G3 SEC Computing K349 syllabus includes AND, OR, NOT, NAND, NOR, XOR and simple multi-input logic circuits, but not every secondary school offers the subject and the 2027 examination syllabus is not the course timetable for a new Secondary 1 entrant.

  • Boolean values are typically represented as 0/1 or false/true.
  • AND is true only when all its inputs are true; OR is inclusive, so it can be true when both inputs are true.
  • NOT reverses one input; XOR is true when its two inputs differ.
  • NAND is NOT(AND), and NOR is NOT(OR).
  • Parentheses and gate order matter when evaluating combined expressions.
  • Check all possible inputs systematically instead of judging a circuit from its symbol alone.

Why logic gates are really about precise questions

Students often know that computers use binary information and assume a logic question is only about memorising electronic symbols. The more important skill is translating a condition into a true-or-false decision. An access rule, sensor alarm or automated response depends on exactly which combinations are permitted.

Ask the child to write the real-world condition first. If a light should turn on only when two separate switches are both active, that resembles AND. If it may turn on when either switch is active, that resembles inclusive OR. The word either can be ambiguous in everyday speech, so the system’s requirement should say whether both together are allowed.

Begin with two inputs and four possible rows

Two Boolean inputs A and B have four combinations: 0,0; 0,1; 1,0; and 1,1. Every truth table for a two-input logical function should account for these four rows. Three inputs give eight combinations because each of three choices has two possibilities.

Students who omit the 1,1 row may never notice the key difference between OR and XOR. Ask them to list all combinations systematically before filling any outputs. The table structure provides a completeness check independently of knowing a particular gate’s answer.

AND: both conditions must be satisfied

For a two-input AND gate, output is 1 only for A = 1 and B = 1. Its outputs in the standard row order 00, 01, 10, 11 are 0, 0, 0, 1. A school example might require a machine to start only when a safety guard is closed and an authorised start input is active.

Ask the child what happens if only one condition holds. AND is false. A common mistake is writing 1 whenever at least one input is 1, which describes OR rather than AND. Using a concrete condition exposes the error.

OR includes the both-true case

For a two-input inclusive OR gate, the outputs for rows 00, 01, 10, 11 are 0, 1, 1, 1. Either input can make the result true, and both true together still make it true.

Students may apply the everyday exclusive meaning of ‘either’ and mark row 11 as false. Ask whether the intended system allows both conditions to hold. In standard Boolean logic, OR is inclusive. If exactly one must hold, the XOR operation expresses that different requirement.

XOR means exactly one of two inputs

Exclusive OR, written XOR, returns 1 when the two input values differ and 0 when they are the same. The outputs for 00, 01, 10, 11 are 0, 1, 1, 0. This is the main contrast with inclusive OR.

Ask the child to describe an original scenario with two options that must differ. For example, a simplified indicator might light when exactly one of two switches is active. If both switches are active, XOR gives 0. This last row is the one students most often misread.

NOT has only one input

NOT reverses a Boolean value. If A = 0, NOT A = 1; if A = 1, NOT A = 0. It can be represented with a bar over the variable, a logical negation symbol or another notation specified by the syllabus.

Students sometimes write two inputs for NOT because most other familiar gates have two. Ask them which single statement is being reversed. In a compound expression, NOT may act on a whole bracket, and that differs from negating only one variable inside it.

NAND and NOR: outputs are reversed

NAND is the negation of AND. Its outputs for 00, 01, 10, 11 are 1, 1, 1, 0. NOR is the negation of OR, with outputs 1, 0, 0, 0. The small inversion bubble on a circuit symbol represents negation in familiar diagrams.

Parents can ask the child to complete the ordinary AND or OR column first, then reverse every output. This two-stage approach reduces memory load. Do not teach NAND as ‘no AND inputs’ or NOR as ‘no OR inputs’, since those phrases can misrepresent the logic.

A complete truth-table comparison

Write four columns for A and B pairs in the standard order. Under AND put 0,0,0,1; under OR put 0,1,1,1; under XOR put 0,1,1,0; under NAND put 1,1,1,0; under NOR put 1,0,0,0. The differences become visible immediately.

Ask the child to cover one output column and recreate it by explaining the rule aloud. If the learner can predict 11 for OR and XOR correctly, one of the most common misconceptions has been repaired. Avoid asking for dozens of rows before the four basic combinations are secure.

Compound Boolean expressions require grouping

Consider the expression A AND (B OR C). The bracket means find B OR C first, then combine that result with A using AND. It is not necessarily equivalent to (A AND B) OR C. For A = 0, B = 0 and C = 1, the first expression is 0, while the second is 1.

This counterexample shows why moving brackets can change the logic. Ask the student to evaluate the inner group first and record the intermediate value. A compound expression is easier when treated as a sequence of small gate evaluations rather than a single intimidating statement.

Use a gate-by-gate trace table

For a circuit whose first gate is OR on B and C and whose second gate is AND with A, build a column for the OR output X = B OR C and a final column Y = A AND X. Each input row is evaluated from left to right through the circuit.

Students often jump straight from inputs to the final output, especially when three variables are present. Intermediate columns show where the first wrong assumption occurred. This is the logic-circuit equivalent of a program trace table and supports debugging.

What De Morgan’s laws are saying

De Morgan’s laws relate the negation of an AND or OR statement to an expression involving negations of the individual inputs. NOT(A AND B) is equivalent to (NOT A) OR (NOT B), and NOT(A OR B) is equivalent to (NOT A) AND (NOT B).

Ask the child to test all four input rows rather than simply moving a NOT sign through brackets. The connective changes from AND to OR or vice versa. A student who writes NOT(A AND B) = NOT A AND NOT B has missed that necessary change.

Worked example: a rule with three conditions

Imagine a fictional school device that should display a warning when a cabinet door is open and either a light is on or a sensor is active. Let D = 1 when the door is open, L = 1 when the light is on, and S = 1 when the sensor is active. The required output is D AND (L OR S).

For D = 1, L = 0, S = 1, the bracket is 1 and the final output is 1. For D = 0, L = 1, S = 1, the bracket is still 1 but the final output is 0 because the door condition is false. This shows why the gate order matters.

A circuit diagram and a Boolean statement should agree

A logic circuit is a graphical representation of gate connections. A Boolean statement expresses the same relationships in symbolic form. A useful skill is converting from one form to the other without changing the rule.

If an OR gate feeds into an AND gate, the statement must preserve that order. A diagram in which the AND gate feeds an OR gate is a different circuit unless a valid Boolean equivalence is demonstrated. Ask your child to name the intermediate signals rather than guess the overall outcome from the final gate’s name.

Why a circuit can be right for one test and wrong for another

A student may test only the input row 1,0 and conclude the circuit works. But two functions can agree on that row and differ on 1,1. Complete truth tables are important for checking equivalence over all possible inputs.

Ask the child which input row is most likely to reveal the difference between OR and XOR, or between AND and NAND. Then test it. This is a systematic form of debugging that also applies to programming conditions and digital spreadsheet formulas.

Real technology uses more than one perfect gate

Actual digital systems have electrical, timing, safety and engineering considerations beyond the simplified Boolean model. For introductory school work, gates are treated as ideal operations on 0 and 1. The abstraction allows students to reason about logic without needing to design an electronic circuit at home.

Parents should not encourage children to wire mains electricity or dismantle electrical equipment for a logic lesson. Pencil-and-paper tables and approved simulator tools are sufficient. The child needs to understand the logic before any physical construction.

A fifteen-minute parent practice

Spend five minutes comparing the truth tables for AND, OR and XOR. For the next five, form NAND and NOR by negating the appropriate columns. In the final five, evaluate A AND (B OR C) for two input rows and explain which operation happens first.

Do not make the practice a memory race. Ask for one explanation of the output that would change if the gate were different. A student who can say why the 11 row separates OR from XOR has demonstrated genuine conceptual understanding.

What the 2027 G3 Computing syllabus includes

SEAB’s 2027 G3 Computing K349 school-candidate register links to learning outcomes on AND, OR, NOT, NAND, NOR and XOR gates, truth tables for circuits with up to three inputs, Boolean statements and De Morgan’s theorem. Subject availability varies by school; the national listing does not mean every PG3 school offers Computing.

The register is for candidates sitting SEC in 2027. A child entering Secondary 1 in 2027 belongs to a later examination cohort and should follow the receiving school’s teaching plan. See MOE Full SBB and eduKateSG’s flowchart and algorithm-tracing guide for related reasoning habits.

The next step for parents

Ask the child to explain which input combinations produce 1 for each of AND, OR and XOR, then complete a three-input circuit with intermediate columns. If the problem is incomplete input rows, focus on systematic enumeration; if the problem is compound grouping, focus on bracket evaluation.

A confident student can translate a sentence into logic, check every possibility and explain where an incorrect result arose. That independent skill is more valuable than memorising a table without understanding the rule.