← Computer Science

Boolean logic — Lesson 2: Logic circuits and truth tables

Real digital systems combine several gates into a logic circuit. This lesson shows how to trace a circuit, build a truth table for it, and write the Boolean expression it represents — the three ways the same logic can be described.

Slide 1 / 4

From gates to circuits

A B C AND OR output = (A . B) + C
  • A logic circuit connects two or more gates so the output of one gate becomes an input to another.
  • Work through it left to right: find each gate's output in turn until you reach the final gate.
  • The circuit as a whole takes the original inputs and produces one final output.
  • You may get a problem statement, such as 'the alarm sounds if the door is open AND the system is on'. Turn each condition into a gate, and draw it exactly as stated, without simplifying.

Check you've got it

0/4

1. How many rows are needed in the truth table for a logic circuit with 3 inputs?

2. A and B go into an OR gate. Its output and C go into an AND gate. Which logic expression matches?

3. A circuit computes (A AND B) OR C. If A = 1, B = 0 and C = 1, what is the output?

4. An OR gate's output is fed into a NOT gate. Which single gate gives the same overall result?

Practise exam-style questions on this

Type your answer, see your mark against the mark scheme in seconds. Free, 5 a day.

Start practising →

Teaching this topic?

Mark your whole class's answers and see who's stuck, for £19 a month.

See the class plan →

Free revision content. Multiple-choice answers are marked instantly. Written answers are marked by AI on /free-mark. Independent, not endorsed by Cambridge International.