Question 5
OCR Computer Science June 2025 Computer systems (H446-01)A level14 marks
On the specification
- (a)
- 1.4 Data types, data structures and algorithms
- (b)
- 1.4 Data types, data structures and algorithms
- (c)
- 1.4 Data types, data structures and algorithms
- (d)
- 1.4 Data types, data structures and algorithms
Question text
5 This diagram shows the logic circuit for a half adder. A S B C (Out) (a) Complete the truth table for this half adder circuit. A B S C (Out) 0 1 10 11 [4] (b) Describe the difference between a half adder circuit and a full adder circuit. [2] (c) The diagram below shows a partially completed logic circuit for a full adder. The full adder circuit contains three inputs: • A – represents the first input • B – represents the second input • C(in) – represents the carry bit from the previous stage of the addition. The full adder circuit contains two outputs: • Sum – represents the result of adding the three inputs A, B and C(in) • C(out) – represents the carry that is passed to the next stage of the addition. Complete the logic circuit to represent a full adder. A Sum B C(in) C(out) [4] (d) This Karnaugh map represents a different logic circuit. AB 0 01 11 10 0 0 1 1 1 1 0 1 1 0 CD 11 0 0 0 0 10 0 0 1 1 Use this Karnaugh map to find the simplified expression for this circuit. You should annotate the Karnaugh map to show the groups that you have used to find the simplified expression. Write your simplified expression here. [4]