Hardware
378 questions. Open a question to solve it and check the official answer.
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
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. ............................................................…
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…
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…
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
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. ............................................................…
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]
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]
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]
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
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. ..........................................................…
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. ..........................................................................................................…
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
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 …
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 .............…
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 ...............................................................................…
Logic gates and logic circuits · 3 marks · official answer ready
(b) Describe why feedback is important in this system. ............................................................................................................................…
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. .........................................................................................…
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]
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]
