2.4.1 Boolean Logic
Practise exam questionsBoolean Logic — Note 2 of 4
Knowledge of the truth tables for each logic gate; Understanding of how to create, complete or edit truth tables for given scenarios
A truth table shows the output of a Boolean expression for every possible combination of inputs. For two inputs (A and B) there are four possible combinations (00, 01, 10, 11). Truth tables are essential for understanding, debugging, and designing logic circuits. You must know the truth tables for AND, OR, and NOT gates.
rows = 2^n.2^n. For P = (A OR B) AND NOT C, there are 3 inputs so 2^3 = 8 rows.P = NOT(A AND B) → work it out step by step: first evaluate A AND B, then apply NOT. Results: (0,0)→1, (0,1)→1, (1,0)→1, (1,1)→0.Ready to test yourself?
Practise 2.4.1 questions