Question 10

OCR Computer Science Specimen Paper 1A level8 marks

On the specification

(a)(i)
1.4 Data types, data structures and algorithms
(a)(ii)
1.4 Data types, data structures and algorithms
(a)(iii)
1.4 Data types, data structures and algorithms
(b)
1.4 Data types, data structures and algorithms
Question text

10 The truth table below has two inputs, A and B, and two outputs, S and C. INPUTS OUTPUTS A B S C 0 0 0 1 1 0 10 1 0 11 0 1 (a) (i) Write a logic expression for S in terms of A and B. [1] (ii) Write a logic expression for C in terms of A and B. [1] (iii) Use the expressions for S and C to draw a single logic circuit for the truth table. [2] (b) Using the rules for manipulating Boolean expressions simplify the following: A∧B ∨ A∧(B∨C) ∨ B∧(B∨C) [4]