Cambridge IGCSE Computer Science 0478
Data Representation
Data Transmission
Hardware
Software
The Internet and Its Uses
Automated and Emerging Technologies
Algorithm Design and Problem-Solving
Programming
Boolean Logic
Logic circuits, expressions and truth tables
- 3 things to know
- Paper 2
Overview
Building circuits, completing truth tables and writing logic expressions from a problem statement, expression, circuit or table.
What you need to know
Answer each one before you reveal it.
For X = (A AND B) OR C, list the input rows that give an output of 1
How many gates are needed to build X = (A OR B) AND NOT C without simplification?
Questions from this subtopic
Each one with the model answer underneath.
- 1
What is a truth table?
Model answer
A truth table lists every possible combination of inputs to a logic circuit and the output for each one.
- 2
How many rows does a truth table need for three inputs?
Model answer
A truth table for three inputs needs 2³, which is 8 rows.
- 3
In what order are the input rows of a three-input truth table written?
Model answer
The rows count up in binary from 000 to 111, so the first input changes every four rows and the last input changes every row.
- 4
What is a logic expression?
Model answer
A logic expression describes a circuit in words, using the gate names and brackets, such as X = (A AND B) OR NOT C.
- 5
What is the output of X = (A AND B) OR NOT C when A = 1, B = 0 and C = 0?
Model answer
The part A AND B is 0, and NOT C is 1. The expression 0 OR 1 gives an output of 1.
- 6
How is a logic expression written from a problem statement?
Model answer
Each condition becomes an input, and words such as and, or and not become gates. The statement an alarm sounds if the door is open and the system is on becomes X = D AND S.
Other ways to work this
The same content, four other ways.
Everything in your subscription
Runs, plus a mode for every other kind of session.
Every question in Boolean Logic, on a schedule.
Learn it in runs of four questions, each ending on a brain dump against the clock. Every question you lock in comes back the next day, then at longer gaps, each time just before you would forget it.
Or £46 a year, about £3.83 a month. Cancel anytime.