Community resourceWorksheet
J277 2.4.1 Logic diagrams
Part 3 of 4 · J277 2.4 · Boolean logic
Reading and constructing the logic diagrams OCR uses to show how gates are connected.
Students will:
- trace a Boolean value from input to output through a diagram
- write the expression a given diagram represents
- draw a diagram for an expression that includes NOT
- treat a bracketed section as an input to the next gate
- find and correct the fault in an incorrect diagram
Inside: 5 explanation cells, 1 multiple-choice question, 1 fill-in-the-blanks cell and 4 written answers. 16 marks, about 45 minutes.
Series: J277 2.4 · Boolean logic, part 3 of 4.
Shared by Coding PathwayVerified teacher
- 11 cells
- About 45 minutes
- CC BY-SA 4.0
- Shared 17 Aug 2026
- Updated 9 Sept 2026
Preview
The whole resource, exactly as a class sees it. Answers and marking are held back.
Reading and constructing logic diagrams
A logic diagram shows how gates are connected. Lines carry Boolean values from inputs on the left, through one or more gates, to an output on the right.
To translate an expression into a diagram:
- identify the inputs;
- draw any NOT operation or bracketed section first;
- treat the output of that smaller section as an input to the next gate;
- label the final output clearly.
The order of the gates matters. A AND NOT B is different from NOT (A AND B) because a different value is reversed.
Worked diagram: Q = A AND NOT B
Input B is reversed first. The AND gate then combines A with NOT B.
In the worked diagram, which value reaches the lower input of the AND gate?
- AB
- BNOT A
- CA OR B
- DNOT B
For the worked diagram, state the output Q when A = 1 and B = 0. Show the two logical steps.
Calculate NOT B first, then apply AND.
Students type their answer here.
A circuit with three inputs
The diagram represents Z = (A OR B) AND NOT C. The OR and NOT gates can be calculated independently before their outputs meet at the final AND gate.
- AND
- OR
- NOT
Calculate Z for the combined diagram when A = 0, B = 1 and C = 0. Show each intermediate result.
Calculate `A OR B` and `NOT C` before the final AND.
Students type their answer here.
Editing an incorrect diagram
The diagram below was meant to show (A OR B) AND NOT C, but the NOT gate has been placed after the AND gate.
Explain how to edit the faulty diagram so it represents (A OR B) AND NOT C.
State which wire should contain the NOT gate and where its output should connect.
Students type their answer here.
Describe how to construct a logic diagram for Y = NOT A OR (B AND C).
Describe the gates in the order they are built and how their outputs connect. You can also sketch it on paper.
Students type their answer here.
Review
Trace every wire from left to right. A gate output can become another gate input. Check the number of inputs, the order of operations, and the small circle on every NOT gate before deciding which expression a diagram represents.