Question 6

OCR Computer Science June 2017 Paper 1AS9 marks

On the specification

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

6 (a) Draw an XOR gate. [1] (b) Explain the difference in the function of OR and XOR gates. [2] (c) A circuit contains the logic gates shown below. A B Output C D (i) Complete the logic table below. A B C D Output 11 1 1 11 1 0 11 0 1 11 0 0 10 1 1 10 1 0 10 0 1 10 0 0 1 1 1 1 1 0 1 0 1 1 0 0 0 1 1 0 1 0 0 0 1 0 0 0 [4] (ii) Complete the Boolean expression below to represent the circuit. ≡ Output [2]