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
- 2 subtopics
- 9 things to know
- Papers 1 and 2
Learn Logic in runs of four questions, then keep it with spaced repetition.
What Logic covers
Logic is examined in Paper 1, Principles of Computer Science, and Paper 2, Application of Computational Thinking. It covers truth tables and logic statements for problems.
Where it is assessed
Papers 1 and 2
Computer Science 4CP0: this topic is examined on Paper 1, Principles of Computer Science (2 hours, 50%), and on Paper 2, Application of Computational Thinking (3 hours, on screen, 50%).
Check the Pearson Edexcel specification ↗The 2 subtopics
Each one has its own page.
What you need to know
Answer each one before you reveal it.
How are logic statements used in programs?
Give the truth table for A AND B
Write the logic expression for this statement: A pump runs if the tank is not full and the power is on
Give the truth table for A OR B
Write a logic statement for a door that unlocks when the correct code is entered or a manager's key card is used
What is a truth table?
Write a logic statement for a sprinkler that turns on when the soil is dry and it is not raining
In what order are the input rows of a three-input truth table written?
Take Logic further
The same content, four other ways.
Commonly confused
Pairs that lose marks when they are blurred together.
Truth table vs Logic statement
Truth table: a list of every input combination and its output. Logic statement: an expression joining conditions with AND, OR and NOT.
Questions from this topic
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.
Everything in your subscription
Runs, plus a mode for every other kind of session.
Logic revision questions
- What does Logic cover in Edexcel IGCSE Computer Science?
- 2 subtopics: truth tables and logic statements for problems. Each one has its own page with questions and model answers.
- How is Logic organised?
- By the Edexcel 4CP0 specification, subtopic by subtopic, so it matches the order you are taught it in.
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.