Edexcel IGCSE Computer Science 4CP0
Algorithms
Searching and Sorting Algorithms
Decomposition and Abstraction
Developing and Testing Code
Programming Constructs and Operators
Data Types and Data Structures
Input, Output and Validation
Data Representation
Data Storage and Compression
Encryption
Hardware and the CPU
Software
Programming Languages and Translators
Networks
Network Security
The Internet and the World Wide Web
Emerging Trends, Issues and Impact
Logic
Truth tables
- 5 things to know
- Papers 1 and 2
Overview
Constructing and interpreting truth tables for statements using AND, OR and NOT, with worked outputs.
What you need to know
Answer each one before you reveal it.
Give the truth table for A AND B
Give the truth table for A OR B
What is a truth table?
In what order are the input rows of a three-input truth table written?
Questions from this subtopic
Each one with the model answer underneath.
- 1
What does the AND operator output in a logic statement?
Model answer
AND outputs 1, or True, only when both inputs are 1.
- 2
What does the OR operator output in a logic statement?
Model answer
OR outputs 1 when at least one input is 1.
- 3
What does the NOT operator output in a logic statement?
Model answer
NOT outputs the opposite of its single input, so 1 becomes 0 and 0 becomes 1.
- 4
Give the truth table for A AND B.
Model answer
The output is 0 for the inputs 00, 01 and 10. The output is 1 only for the input 11.
- 5
Give the truth table for A OR B.
Model answer
The output is 0 only for the input 00. The output is 1 for the inputs 01, 10 and 11.
- 6
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.
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 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.