MathsGenie logo
RevisionResourcesBlog
  1. Home
  2. /
  3. Student Questions
  4. /
  5. How to Build a Three-Input Circuit Truth Table

How to Build a Three-Input Circuit Truth Table

Learn to build a three-input truth table for circuits with NOT, AND and OR gates, using intermediate columns to check every input combination and avoid errors.

Share
Add as a preferred source on Google

For three inputs, make a truth table with eight rows: one for every possible combination of inputs. Then add a column for each gate’s output and work through the circuit in the order the signals travel.

Set up the rows

Call the inputs AAA, BBB and CCC. Each input can be 000 (false) or 111 (true), giving 23=82^3=823=8 combinations. List them systematically, from 000000000 to 111111111, so none are missed.

To build the input columns, hold AAA at 000 for four rows, then at 111 for four rows. Change BBB every two rows, and alternate CCC between 000 and 111 on every row. This pattern includes each combination exactly once and makes missing or repeated rows easier to spot.

Follow the gates

The question does not include a circuit diagram, so this example assumes that BBB first passes through a NOT gate, its result is combined with AAA by an AND gate, and that result is combined with CCC by an OR gate. Let X=A AND (NOT B)X=A\text{ AND }(\text{NOT }B)X=A AND (NOT B) and Y=X OR CY=X\text{ OR }CY=X OR C.

NOT reverses an input: 000 becomes 111, and 111 becomes 000. AND gives 111 only when both its inputs are 111. OR gives 111 when at least one of its inputs is 111. Use these rules on the inputs entering each gate, not automatically on the original input columns.

AAABBBCCCNOT B\text{NOT }BNOT BXXXYYY
000000000111000000
000000111111000111
000111000000000000
000111111000000111
111000000111111111
111000111111111111
111111000000000000
111111111000000111

An intermediate column records a result that feeds another gate. For example, when A=1A=1A=1, B=0B=0B=0 and C=0C=0C=0, NOT changes BBB to 111. The AND gate gives X=1X=1X=1, so the OR gate gives Y=1Y=1Y=1.

As a check, every row with C=1C=1C=1 must have Y=1Y=1Y=1 in this example, because CCC enters the final OR gate. The common mistake is to apply a gate to the original input instead of the output of the previous gate. Follow the wires on your diagram and complete intermediate columns before the final output. A different circuit will have different intermediate columns and results.

Related resources

Keep learning with resources for this subject.

Computer Science

Explore

Computer Science

View subject overview

Question bank

Practice exam-style questions

Revision guides

Review key concepts

Was this answer helpful?

Was this answer helpful?

Add as a preferred source on Google

Related student questions

1 Cell biology

Active Transport vs Diffusion: What Is the Difference?

Learn what active transport is, why it needs energy, and how it differs from diffusion in GCSE Biology, with clear definitions and examples.

Read the answer →

1 Cell biology

How Does Mitosis Work in the Cell Cycle?

Learn how mitosis fits into the cell cycle, from cell growth and DNA replication to chromosome separation and two genetically identical cells.

Read the answer →

1 Cell biology

Eukaryotic vs Prokaryotic Cells

Learn the differences between eukaryotic and prokaryotic cells, including their nuclei, genetic material, plasmids and sub-cellular structures.

Read the answer →

1 Cell biology

What Is Diffusion? GCSE Biology Explained

Learn what diffusion means in GCSE AQA Biology, how concentration affects net movement, examples in living organisms, and common exam mistakes.

Read the answer →

1m+ Students Can't Be Wrong

What GCSE and A-level students say after revising with MathsGenie.

Harvey B. avatar

Harvey B.

Student

“This is such an amazing platform, it offers everything needed to improve your grade in a time efficient manor. Personally I love the videos as I am able to find areas that I am weak at in the practice papers.”
Tameem R. avatar

Tameem R.

Student

“Genuinely took me from a grade 4 in maths to achieving a grade 8 in my GCSE's in less than a few months. Best mathematics revision website for those who are aiming to get those high grades.”
Anyim P. avatar

Anyim P.

Student

“Genuinely I think every maths student should have this site. It takes you through the entire AS and A level Maths course, alongside exam questions with step by step solutions.”
Muhammad A. avatar

Muhammad A.

Student

“predicted papers are very useful and i believe there's not a better website for GCSE maths in the UK”
Rayan K. avatar

Rayan K.

Student

“Best Maths Resource out there! Absolutely amazing videos and very concise explantions on everything. Don't even get me started on the loads of exam question/worksheets that are so helpful. And it's all free!”
Dee avatar

Dee

Student

“The best Maths resource site in the world! They have it all and do a great job of keeping everything up to date. I still don't know how they are able to make this free for all. You are truly amazing.”
Hamid I. avatar

Hamid I.

Student

“They have helped me with my A level Maths performance significantly and I jumped from a grade U to a Grade A in only 2-3 months. I HIGHLY recommend to Maths students especially for A level.”
Sophie avatar

Sophie

Student

“MathsGenie's YouTube videos and worksheets are amazing. The videos go into such great depth but in a way that's simple to understand.”
Maria E. avatar

Maria E.

Student

“Amazing website! Truly helped with my GCSEs - I was a very poor student. Managed to go up and reach all grade 6-9's from U-4's. Would definitely recommend :)”
Justine K. avatar

Justine K.

Student

“Absolutely brilliant website with well organised, well written resources for learning or revising maths. I never hesitate to recommend mathsgenie to my students.”
Daryl G. avatar

Daryl G.

Student

“Took me a bit of getting used to but this new site is excellent. I found the old one really useful but this is next level. I share it with all my colleagues and students.”
Binuk J. avatar

Binuk J.

Student

“I used to be really bad at math. My first GCSE mocks I had a 2 but after I found MathsGenie I jumped from 2 to 4 under 3 months.”
Jourdie avatar

Jourdie

Student

“Improved my grade, I used to be borderline passing maths now I'm performing much better. There are videos, practice papers, solutions, exam questions, past GCSE papers all for free. This is really useful.”
Olla avatar

Olla

Student

“Honestly, it's super great. Easy, with the explanation on the side. Every topic also has more than 50 questions, making you feel more confident in doing different types f question in one topic. Try it!”

Ready to breeze through your GCSEs?IGCSEs?A-Levels?AS Levels?GCSEs?GCSEs?

Sign inStart studying for free

Footer

Quick links

  • GCSE past papers
  • GCSE question bank
  • GCSE worksheets
  • GCSE revision guides
  • GCSE lessons
  • Literary Hub
  • Free maths course
  • A Level past papers
  • A Level question bank
  • Old MathsGenie

Tools

  • Revision planner
  • Mock exam builder
  • Ask Genie AI
  • Answer marking
  • Grade calculator
  • Pricing

Company

  • About MathsGenie
  • Careers
  • Contact
  • For educators
  • For parents
  • Student ambassadors
  • Help centre
  • More resources
  • Blog
  • Student questions
  • Sitemap
  • Privacy policy
  • Terms of Service
  • Cookie policy
  • Report a bug

GCSE

  • Biology
  • Chemistry
  • English Language
  • English Literature
  • Geography
  • Maths
  • Old Maths
  • Physics
  • Statistics

IGCSE

  • Biology
  • Business
  • Chemistry
  • Computer Science
  • English Language
  • English Literature
  • Geography
  • Maths
  • Physics

A Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Old Maths
  • Physics
  • Psychology
  • Sociology

AS Level

  • Biology
  • Business
  • Chemistry
  • Economics
  • Maths
  • Physics
  • Psychology
  • Religious Studies
  • Sociology
MathsGenie logo

© 2026 MyDojo, Inc. All rights reserved. MyDojo, Inc. does business as MathsGenie.

Exam board names are used for identification only and do not imply affiliation or endorsement.