Computer Science 9608 · 3

Hardware

378 questions. Open a question to solve it and check the official answer.

2017 October-November · Paper 21 · Q4(b)

Logic gates and logic circuits · 3 marks · official answer ready

(b) For each row in the following table, define the mask required to produce the formatted output from the given value. □ represents a space. Value Required output Mask [3] 12

2017 October-November · Paper 21 · Q5(a)

Logic gates and logic circuits · 8 marks · official answer ready

(a) Write pseudocode for the procedure MakeNewFile. For the built-in functions list, refer to the Appendix on page 14. ............................................................…

2017 October-November · Paper 23 · Q3(b)

Logic gates and logic circuits · 8 marks · official answer ready

(b) The value of UserID should be unique for each user but a problem has occurred and repeated UserID values may have been issued. The array is sorted by UserID, so any repeated U…

2017 October-November · Paper 23 · Q4(a)

Logic gates and logic circuits · 2 marks · official answer ready

(a) Using the mask "###00.00", complete the following table. Use □ to represent a space. The first value has been done for you. Value Formatted string 1327.5 "□1327.50" 1234 7.456…

2017 October-November · Paper 23 · Q4(b)

Logic gates and logic circuits · 3 marks · official answer ready

(b) For each row in the following table, define the mask required to produce the formatted output from the given value. □ represents a space. Value Required output Mask [3] 12

2017 October-November · Paper 23 · Q5(a)

Logic gates and logic circuits · 8 marks · official answer ready

(a) Write pseudocode for the procedure MakeNewFile. For the built-in functions list, refer to the Appendix on page 14. ............................................................…

2017 October-November · Paper 31 · Q3(c)

Logic gates and logic circuits · 2 marks · official answer ready

(c) The definition of is changed to allow: • one or two letters and • zero, one or two digits. Draw an updated version of the syntax diagram for . Variable Letter [2]

2017 October-November · Paper 31 · Q5(a)(i)

Logic gates and logic circuits · 1 mark · official answer ready

(i) Complete the truth table for this 2-input NAND gate: A B X A 0 0 X 0 1 1 0 B 1 1 [1]

2017 October-November · Paper 31 · Q5(a)(ii)

Logic gates and logic circuits · 1 mark · official answer ready

(ii) Complete the truth table for this 3-input NAND gate: A B C X 0 0 0 0 0 1 A 0 1 0 B X 0 1 1 C 1 0 0 1 0 1 1 1 0 1 1 1 [1]

2017 October-November · Paper 31 · Q5(b)(i)

Logic gates and logic circuits · 3 marks · official answer ready

(i) Complete the truth table for the SR flip-flop: S R Q Q Initially 1 0 0 1 R changed to 1 1 1 S changed to 0 0 1 S changed to 1 1 1 S and R changed to 0 0 0 1 1 [3] 10

2017 October-November · Paper 31 · Q5(b)(ii)

Logic gates and logic circuits · 2 marks · official answer ready

(ii) The final row in the table in part b(i) shows that the output for both Q and Q is 1. Explain why this is a problem. ..........................................................…

2017 October-November · Paper 31 · Q5(c)(ii)

Logic gates and logic circuits · 2 marks · official answer ready

(ii) Explain why the JK flip-flop is an improvement on the SR flip-flop. ..........................................................................................................…

2017 October-November · Paper 32 · Q5(a)

Logic gates and logic circuits · 1 mark · official answer ready

5 (a) Complete the truth table for this NOR gate: A B X 0 0 A 0 1 X B 1 0 1 1 [1] A SR flip-flop is constructed using two NOR gates. R Q Q S

2017 October-November · Paper 32 · Q5(b)

Logic gates and logic circuits · 4 marks · official answer ready

(b) Complete the truth table for the SR flip-flop: S R Q Q Initially 1 0 1 0 S changed to 0 0 0 R changed to 1 0 1 R changed to 0 0 0 S and R changed to 1 1 1 [4] 12 Another type …

2017 October-November · Paper 32 · Q5(c)(ii)

Logic gates and logic circuits · 4 marks · official answer ready

(ii) There are two problems with the SR flip-flop that the JK flip-flop overcomes. State each problem and state why it does not occur for the JK flip-flop. Problem 1 .............…

2017 October-November · Paper 32 · Q6(a)

Logic gates and logic circuits · 2 marks · official answer ready

(a) State one other type of sensor that could be used with this system. Justify your choice. Sensor ...............................................................................…

2017 October-November · Paper 32 · Q6(b)

Logic gates and logic circuits · 3 marks · official answer ready

(b) Describe why feedback is important in this system. ............................................................................................................................…

2017 October-November · Paper 32 · Q6(c)(ii)

Logic gates and logic circuits · 2 marks · official answer ready

(ii) Explain how the parameter identified in part (c)(i) is used in the feedback process. .........................................................................................…

2017 October-November · Paper 33 · Q3(c)

Logic gates and logic circuits · 2 marks · official answer ready

(c) The definition of is changed to allow: • one or two letters and • zero, one or two digits. Draw an updated version of the syntax diagram for . Variable Letter [2]

2017 October-November · Paper 33 · Q5(a)(i)

Logic gates and logic circuits · 1 mark · official answer ready

(i) Complete the truth table for this 2-input NAND gate: A B X A 0 0 X 0 1 1 0 B 1 1 [1]