Question 9
AQA Computer Science June 2025 Paper 2 (7517/2)A level7 marks
On the specification
- 9.1
- 3.6 Fundamentals of computer systems
- 9.2
- 3.6 Fundamentals of computer systems3.5 Fundamentals of data representation
- 9.3
- 3.6 Fundamentals of computer systems
Question text
9 Figure 4 shows a logic circuit. The circuit has seven inputs and two outputs. The inputs B6 to B0 represent the ASCII code of a character, where B6 is the most significant bit and B0 is the least significant bit. The circuit outputs are Q1 and Q2. The outputs of six of the gates in the circuit have been labelled U, V, W, X, Y and Z. Figure 4 Figure 5 shows the ASCII code for printable characters. box Figure 5 ASCII code ASCII code ASCII code ASCII code Char Binary Char Binary Char Binary Char Binary SP 0100000 8 0111000 P 1010000 h 1101000 ! 0100001 9 0111001 Q 1010001 i 1101001 " 0100010 : 0111010 R 1010010 j 1101010 # 0100011 ; 0111011 S 1010011 k 1101011 $ 0100100 < 0111100 T 1010100 l 1101100 % 0100101 = 0111101 U 1010101 m 1101101 & 0100110 > 0111110 V 1010110 n 1101110 ' 0100111 ? 0111111 W 1010111 o 1101111 ( 0101000 @ 1000000 X 1011000 p 1110000 ) 0101001 A 1000001 Y 1011001 q 1110001 * 0101010 B 1000010 Z 1011010 r 1110010 + 0101011 C 1000011 [ 1011011 s 1110011 , 0101100 D 1000100 \ 1011100 t 1110100 - 0101101 E 1000101 ] 1011101 u 1110101 . 0101110 F 1000110 ^ 1011110 v 1110110 / 0101111 G 1000111 _ 1011111 w 1110111 0 0110000 H 1001000 ` 1100000 x 1111000 1 0110001 I 1001001 a 1100001 y 1111001 2 0110010 J 1001010 b 1100010 z 1111010 3 0110011 K 1001011 c 1100011 { 1111011 4 0110100 L 1001100 d 1100100 | 1111100 5 0110101 M 1001101 e 1100101 } 1111101 6 0110110 N 1001110 f 1100110 ~ 1111110 7 0110111 O 1001111 g 1100111 9.1 Complete the truth table below for the input of the ASCII codes of the characters * @ F W \ and f into the logic circuit shown in Figure 4. [4 marks] Inputs Outputs Char Binary B6 B5 B4 B3 B2 B1 B0 U V W X Y Z Q1 Q2 * 0101010 0 1 0 1 0 1 0 @ 1000000 1 0 0 0 0 0 0 F 1000110 1 0 0 0 1 1 0 W 1010111 1 0 1 0 1 1 1 \ 1011100 1 0 1 1 1 0 0 f 1100110 1 1 0 0 1 1 0 Figure 4 is repeated below to help you answer Questions 09.2 and 09.3 without box having to turn back in the question paper. Figure 4 (repeated) 9 2 box . Describe the purpose of the outputs Q1 and Q2 of the circuit in Figure 4. [2 marks] 9.3 Shade one lozenge to indicate which of the Boolean equations correctly represents the output Q1 in Figure 4. [1 mark] A Q1 = B6 ⋅ (B���������4 ⋅ B3 + B��� ⋅2 ���������B1 ⋅ B0) ⋅ (B4 + B3 + B2 + B1 + B0) ⋅ ���B5 B Q1 = B6 ⋅ (B��� ⋅4 ���B3 + B��� ⋅2 ��� ⋅B1 ���B0) ⋅ (B4 + B3 + B2 + B1 + B0) C Q1 = B6 ⋅ (B���������4 ⋅ B3 + B��� ⋅2 ���������B1 ⋅ B0) ⋅ (B4 + B3 + B2 + B1 + B0) D Q1 = B6 ⋅ ���������B4 ⋅ B3 + B��� ⋅2 ��������� ⋅B1 ⋅ B0 (B4 + B3 + B2 + B1 + B0) E Q1 = B6 + (B����������� ⋅4 + B3 ���B2 + B����������1 + B0) + (B4 ⋅ B3 ⋅ B2 ⋅ B1 ⋅ B0) 7