Question 6

AQA Computer Science November 2020 Paper 2 (7517/2)A level10 marks

On the specification

6.1
3.6 Fundamentals of computer systems
6.2
3.6 Fundamentals of computer systems3.4 Theory of computation
6.3
3.4 Theory of computation
6.4
3.6 Fundamentals of computer systems
Question text

6 1 box . Figure 6 shows truth tables for four logic gates. The truth tables are labelled Table A, Table B, Table C and Table D. Figure 6 Table A Table B Table C Table D Inputs Output Inputs Output Inputs Output Inputs Output 0 1 0 0 0 0 0 1 0 0 0 1 0 0 1 1 0 1 0 0 1 1 10 0 1 0 1 1 0 0 1 0 1 11 0 1 1 0 1 1 1 1 1 1 Shade in one lozenge to indicate which truth table does not represent one of the logic gates: OR, XOR, NOR. [1 mark] Table A Table B Table C Table D A 7-segment display is a component used to display a digit on devices such as box calculators. A 7-segment display consists of seven lights (called segments) which can be illuminated individually to make the shapes of digits. For example, the digit 3 could be displayed by illuminating five of the seven segments like this (black shading indicates an illuminated segment): Figure 7 shows part of a logic circuit which is designed to take a binary representation of a single decimal digit as its input and light up the segments to display the decimal digit. The part of the circuit shown controls the lighting of just one segment of the display. Figure 7 The inputs to the circuit are X3, X2, X1 and X0. Together these form the binary representation of the decimal digit to display. For example, if the inputs to the circuit were: X3 X2 X1 X0 1 0 1 then the display would need to show this pattern: as 0101 is the binary representation of the decimal digit 5 The output Q is connected to one segment of the display. When Q is 1 this segment lights up, when it is 0 the segment does not light up. 6 2 box . Complete every empty cell in the truth table below for the circuit in Figure 7 • The listed inputs to the table (X3, X2, X1, X0) represent the decimal digits 0–9 in binary, which are the only allowed inputs. • The letters A–E have been used to label intermediate points on the circuit in Figure 7 to help you to work out the final output Q • Some of the cells have been completed for you. [4 marks] INPUTS INTERMEDIATE POINTS OUTPUT X3 X2 X1 X0 A B C D E Q 0 0 0 0 0 1 1 0 1 0 0 0 0 1 0 0 1 1 1 1 0 0 1 1 1 0 0 1 0 1 0 0 1 1 1 1 1 1 0 0 0 1 1 1 1 1 1 1 10 0 0 1 0 1 0 0 1 10 0 1 Figure 8 shows the patterns of segments that are illuminated for each of the decimal digits 0–9. Figure 8 6.3 By considering the inputs and outputs of the circuit in Figure 7 and consulting your trace table, state which of the segments in the display (labelled a to g below) the output Q from the circuit is controlling. [1 mark] Output Q is controlling segment 6 4 box . Using the rules of Boolean algebra, simplify the following Boolean expression. ������������������ A�������������� ∙∙ (A + 1) B� ∙ �������������A� + B +�������0 You must show your working. [4 marks]