levo

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.

Your recallNot started
Key term

What is the output of X = NOT A AND (B OR C) when A = 0, B = 0 and C = 1?

Key term

How are logic statements used in programs?

Key term

Give the truth table for A AND B

Key term

Write the logic expression for this statement: A pump runs if the tank is not full and the power is on

Key term

Give the truth table for A OR B

Key term

Write a logic statement for a door that unlocks when the correct code is entered or a manager's key card is used

Key term

What is a truth table?

Key term

Write a logic statement for a sprinkler that turns on when the soil is dry and it is not raining

Key term

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. 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. 2

    What does the OR operator output in a logic statement?

    Model answer

    OR outputs 1 when at least one input is 1.

  3. 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. 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. 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. 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.

1Flash
2Imposter
3Fade
4Brain dump

Learn every subtopic in runs of four questions

Facts flash and fade, a wrong word hides in some of them, and a brain dump decides which questions are locked in.

Algorithms
Searching and Sorting Algorithms
Decomposition and Abstraction
Developing and Testing Code

Cram the night before, weakest topic first

A quick scan finds your weakest topics. Recall each fact you missed three times in a row.

Denary is a base system.
1028

Blank Blitz consolidates the facts

Rapid timed gap-fills on the terms and numbers you need to recall without thinking.

✓What it iscovered
~Why it happenspartly there
How long it lastsnot there yet

Explain It tests your understanding

Explain a concept in your own words and see which of its points you covered.

Nibble means a group of four bits.
TrueFalse

Test It catches misconceptions

Spot the fault in a statement. The faults are the mistakes students make most often.

721941163128510

Brain Breaks between sessions

Short focus games to reset attention, so the next set lands better than the last.

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.