Easy1 markStructured
Computer systemsGenerallogic gatestruth tableXOR

AQA GCSE · Question 03.1 · Computer systems

ABA XOR B00011011

Complete the truth table for the XOR logic gate.

How to approach this question

The XOR (Exclusive OR) gate outputs True (1) only when the inputs are different. 1. Look at the first row: A=0, B=0. Inputs are the same, so output is 0. 2. Look at the second row: A=0, B=1. Inputs are different, so output is 1. 3. Look at the third row: A=1, B=0. Inputs are different, so output is 1. 4. Look at the fourth row: A=1, B=1. Inputs are the same, so output is 0. Fill these values into the table.

Full Answer

The completed column for A XOR B should be: 0 1 1 0
An XOR (Exclusive OR) gate is a digital logic gate that gives a true (1 or HIGH) output when the number of true inputs is odd. In the case of a two-input XOR gate, the output is true only when the inputs are different. - **A=0, B=0:** Inputs are the same. Output is 0. - **A=0, B=1:** Inputs are different. Output is 1. - **A=1, B=0:** Inputs are different. Output is 1. - **A=1, B=1:** Inputs are the same. Output is 0. The completed truth table is: | A | B | A XOR B | |---|---|---------| | 0 | 0 | 0 | | 0 | 1 | 1 | | 1 | 0 | 1 | | 1 | 1 | 0 |

Common mistakes

✗ Confusing XOR with OR (which outputs 1 if A, B, or both are 1). ✗ Confusing XOR with AND (which only outputs 1 if both A and B are 1).

Practice the full AQA GCSE Computer Science Paper 2

46 questions · hints · full answers · grading

More questions from this exam