D-type flip-flops – OCR A Level Computer Science lesson (H446)
Students learn to describe how a D-type flip-flop stores a bit and complete a timing diagram showing Q from a clock signal and input D.
Lesson 8 of 11 in unit 13.3 Boolean Algebra and Logic Circuits, taught in Year 13, Autumn 2. It answers one big question: How can a circuit remember a single bit?
By the end, students can describe how a D-type flip-flop stores a bit and complete a timing diagram showing Q from a clock signal and input D.
- The Build (the main task)
- Complete the timing diagram for a D-type flip-flop that stores Kestrel Lifts' 'call button pressed' bit: D is 1, 0, 1, 1, 1, 0 at the six rising clock edges, with a short dip to 0 between edges 4 and 5. Explain why Q ignores the dip (5 marks).
- Support version
- The diagram with the rising edges marked by dotted vertical lines and Q drawn up to edge 2; a prompt card: 'At each rising edge, Q copies D. Between edges, Q holds.'.
- Challenge
- Explain what happens when ¬Q is wired back to D, and how four D-type flip-flops sharing one clock make a 4-bit register.
- Real-world link
- A Kestrel lift remembers that a call button was pressed even after the passenger lets go.
- Key words
- D-type flip-flop, Clock signal and Store, each with a definition, an icon and a common mix-up on the key vocabulary slide.
- Misconceptions it tackles
- “Q changes whenever D changes”; “The clock signal tells the circuit the time of day”.
- OCR H446 specification
- 1.4.3 (boolean algebra: defining problems with Boolean logic, manipulating expressions with De Morgan's laws, distribution, association, commutation and double negation, simplifying with Karnaugh maps, and the logic of half adders, full adders and the D-type flip-flop).
Every lesson follows the same Code & Commerce structure: a Bell Task recall starter, key vocabulary with definitions and icons, short teaching chunks with a check before pupils move on, The Build (one main task), challenge questions that get harder, and an exit question. Answers reveal one at a time on the slides, and everything is editable PowerPoint and Word.
Also sold in the Boolean Algebra and Logic Circuits unit bundle, which includes the medium term plan, and in the full-year and complete-course bundles.
An independent resource written for OCR A Level Computer Science (H446). It is not endorsed by OCR or Cambridge University Press & Assessment. Programming project (NEA) lessons teach general skills on a made-up example project and give supervised time, within JCQ's rules on the help a centre may give.
What's included
- Slide deck (PowerPoint)
- Lesson plan (Word)
- Worksheet (Word)
- Support worksheet with scaffolds (Word)
- Single-teacher licence: use and adapt it with your own classes
More for A Level Computer Science
See allStudents learn to write a Boolean expression in both OCR notations and simplify it with the identity rules, naming each rule.
Free sample lessonStudents learn to apply De Morgan's laws to rewrite an expression without a bar over a bracket and prove the two forms equivalent with a truth table.
Students learn to use distribution, association, commutation and double negation to simplify an expression, naming the rule at each step.
Written for the specifications named. Not endorsed by or affiliated with any exam board.