Signed up recently but had issues with the confirmation email?

Click Forgot password and follow the reset steps. You can choose the same password you used when you signed up. This should then provide access.

Remember to check Spam and Junk. The email will be from auth@progressbytes.co.uk.

Revision notesQuestionsFor schools
Revise Computing
Log inStart revising free
Revision notesQuestionsFor schoolsLog in

© 2026 Revise Computing · revisecomputing.co.uk

Worried about something?Question Bank UpdatesPrivacy noticeTermsContact

Revise Computing is an independent revision resource. It is not affiliated with, or endorsed by, OCR (Oxford Cambridge and RSA Examinations).

Knowledge/A Level/H446/01 Computer systems/Boolean Algebra/The logic associated with D type flip flops…

The logic associated with D type flip flops, half and full adders

1.4.3 Boolean Algebra

Practise exam questions

Boolean Algebra — Note 5 of 5

Candidates need to understand the purpose and principles of D type flip flops and how and where they are used in a computer. They should be able to recognise how they can be triggered by a clock pulse (see practice paper 2 for an example). Candidates are not expected to memorise the logic gates that make up a D-type flip flop. Candidates need to understand the purpose and function of an adder circuit, and the difference between a half and full adder. They should be able to recognise and draw the logic gates and truth tables for full and half adders.

What you need to know

Logic gates can be combined into circuits with useful jobs. Adders carry out binary addition inside the ALU, and D-type flip-flops store a single bit, forming the basis of registers and memory.

What to know

  • A full adder can be built from two half adders and an OR gate.
  • Full adders can be chained together, with each carry out feeding the next carry in, to add multi-bit binary numbers. Two 4-bit numbers can be added by a chain of four adders (the least significant bit can use a half adder, as it has no carry in).
  • A D-type flip-flop has two inputs, data (D) and clock, and two outputs, Q and NOT Q. NOT Q is always the inverse of Q.
  • D-type flip-flops are used to build registers and memory, and can be used as counters and frequency dividers.
  • You need to recognise how a flip-flop is triggered by the clock, but you do NOT need to memorise the logic gates inside a D-type flip-flop.

Code examples

Half adder and full adder truth tables
text
Half adder          Full adder
A B | C S           A B Cin | Cout S
0 0 | 0 0           0 0  0  |  0   0
0 1 | 0 1           0 0  1  |  0   1
1 0 | 0 1           0 1  0  |  0   1
1 1 | 1 0           0 1  1  |  1   0
                    1 0  0  |  0   1
                    1 0  1  |  1   0
                    1 1  0  |  1   0
                    1 1  1  |  1   1

Key terms

Half adder

Adds two bits, giving a Sum and a Carry. Sum = A ⊻ B; Carry = A ∧ B.

Full adder

Adds two bits PLUS a carry in, giving a Sum and a Carry out. Sum = A ⊻ B ⊻ Cin; Cout = (A ∧ B) ∨ (Cin ∧ (A ⊻ B)).

D-type flip-flop

A circuit that stores one bit. On each rising edge of the clock pulse, the output Q takes the value of the data input D, and keeps it until the next clock pulse.

Exam technique

  • Tip:Be able to draw half and full adders and their truth tables. A half adder uses 2 gates (XOR, AND); a full adder uses 5 (two XOR, two AND, one OR). Extra gates lose marks.
  • Tip:Asked how a half adder differs from a full adder, say it directly: only the full adder takes a carry in, so it adds three bits rather than two. Don't just describe the circuit you are given.
  • Mistake:In a full adder, feeding the first AND gate's output into the second AND gate. The second AND gate takes A ⊻ B (the first XOR's output) and Cin.

Past exam questions

  • June 2026Paper 1Q5(g)(i)2marks
  • June 2026Paper 1Q5(g)(ii)1mark
  • June 2025Paper 1Q5(a)4marks
  • June 2025Paper 1Q5(b)2marks
  • June 2025Paper 1Q5(c)4marks
  • November 2021Paper 1Q5(c)(iii)4marks
  • November 2020Paper 1Q4(b)(i)2marks
  • November 2020Paper 1Q4(b)(ii)4marks
  • June 2017Paper 1Q11(a)3marks

Ready to test yourself?

Practise 1.4.3 questions
← Previous noteUsing logic gate diagrams and truth tables1.4.3 Boolean AlgebraNext topic →The Data Protection Act 19981.5.1 Computing Related Legislation

Back to Boolean Algebra

Boolean Algebra

Note 5 of 5

  1. 1Define problems using Boolean logic
  2. 2Manipulate Boolean expressions, including the use of Karnaugh maps
  3. 3De Morgan's Laws, distribution, association, commutation and double negation
  4. 4Using logic gate diagrams and truth tables
  5. 5The logic associated with D type flip flops, half and full adders
Topic overview