Hardware
429 questions. Open a question to solve it and check the official answer.
Logic gates and logic circuits · 1 mark · official answer ready
(i) To take their turn, the player inputs a row number and a column number to place their marker in an empty cell. Write the values player X has input to place their marker, ‘X’, …
Logic gates and logic circuits · 7 marks · official answer ready
(iii) In a high-level programming language, write statements to: • declare the array Grid • assign the value for an empty cell to all cells Programming language ..................…
Logic gates and logic circuits · 4 marks · official answer ready
(g) Design a suitable form-based screen interface for the current player to input the row number and column number to place their marker when it is their turn. [4]
Logic gates and logic circuits · 100 marks · official answer ready
(i) State what value Ali should use for the array elements that do not contain the start of a slide or ladder. Explain your choice. ...............................................…
Logic gates and logic circuits · 4 marks · official answer ready
(c) To input a board design, Ali wants the program to read in pairs of numbers in the form a, b where: • a is the start square of a slide or ladder • b is the end square of a slid…
Logic gates and logic circuits · 1 mark · official answer ready
(i) A high-level programming language has a built-in function that generates a random number. The function is defined as follows: RANDOM(n : INTEGER) RETURNS INTEGER returns an in…
Logic gates and logic circuits · 8 marks · official answer ready
(ii) The function NumberOfMovesInThisGame counts how many moves the player took to complete the game and returns this value. The game ends when the player reaches the final square…
Logic gates and logic circuits · 100 marks · official answer ready
3 07 19 climb to top of ladder The top of a slide, so 6 10 03 move down the slide Ali plans to write a program to test different board designs. Each board design will have differe…
Logic gates and logic circuits · 4 marks
3 07 19 climb to top of ladder The top of a slide, so 6 10 03 move down the slide Ali plans to write a program to test different board designs. Each board design will have differe…
Logic gates and logic circuits · 1 mark
3 07 19 climb to top of ladder The top of a slide, so 6 10 03 move down the slide Ali plans to write a program to test different board designs. Each board design will have differe…
Logic gates and logic circuits · 8 marks
3 07 19 climb to top of ladder The top of a slide, so 6 10 03 move down the slide Ali plans to write a program to test different board designs. Each board design will have differe…
Logic gates and logic circuits · 4 marks · official answer ready
(b) Ahmed wants to carry out white box testing of the function. Give four integers which thoroughly test the function. For each one, give the expected return value and justify you…
Logic gates and logic circuits · 1 mark · official answer ready
(i) State why the table is not in First Normal Form (1NF). ........................................................................................................................…
Logic gates and logic circuits · 1 mark · official answer ready
(ii) Comment on your answer by referring to the data in the table. ................................................................................................................…
Logic gates and logic circuits · 1 mark · official answer ready
(i) Using the data given in the original table, show the data now stored in table MEMBER. Table: MEMBER MemberNo MemberType Trainer [1]
Logic gates and logic circuits · 2 marks · official answer ready
(ii) Using the data given in the original table, show three rows stored in table MEMBERCLASSES. The MemberNo should be different for each row. Table: MEMBERCLASSES MemberNo ClassN…
Logic gates and logic circuits · 1 mark
(iii) Using the data given in the original table, state how many rows would be in table MEMBERCLASSES. ............................................................................…
Logic gates and logic circuits · 1 mark
(iv) State the relationship between MEMBER and MEMBERCLASSES. .....................................................................................................................…
Logic gates and logic circuits · 2 marks · official answer ready
(ii) Explain why the table is not in Second Normal Form (2NF). ....................................................................................................................…
Logic gates and logic circuits · 2 marks · official answer ready
(i) The revised MEMBER table is not in Third Normal Form (3NF). Explain this statement. ...........................................................................................…
