Programming
96 questions. Open a question to solve it and check the official answer.
Constructs · 5 marks · official answer ready
6 (a) Name the most suitable input or output device for each of the following uses. Give a different device in each case. Description of use Input or output device input of credit…
Programming basics · 2 marks · official answer ready
(i) Describe two methods of preventing accidental loss of data. 1 .................................................................................................................…
Constructs · 2 marks · official answer ready
(iii) Write the table definitions to give the database in 3NF. ....................................................................................................................…
Constructs · 5 marks · official answer ready
6 (a) Name the most suitable input or output device for each of the following uses. Give a different device in each case. Description of use Input or output device input of credit…
Programming basics · 2 marks · official answer ready
(i) Describe two methods of preventing accidental loss of data. 1 .................................................................................................................…
Constructs · 2 marks · official answer ready
(iii) Write the table definitions to give the database in 3NF. ....................................................................................................................…
Programming basics · 3 marks · official answer ready
1 A marathon runner records their time for a race in hours, minutes and seconds. An algorithm is shown below in structured English. INPUT race time as hours, minutes and seconds C…
Programming basics · 1 mark
1 A marathon runner records their time for a race in hours, minutes and seconds. An algorithm is shown below in structured English. INPUT race time as hours, minutes and seconds C…
Programming basics · 7 marks · official answer ready
1 A marathon runner records their time for a race in hours, minutes and seconds. An algorithm is shown below in structured English. INPUT race time as hours, minutes and seconds C…
Programming basics · 2 marks · official answer ready
1 A marathon runner records their time for a race in hours, minutes and seconds. An algorithm is shown below in structured English. INPUT race time as hours, minutes and seconds C…
Programming basics · 0 marks · official answer ready
1 A marathon runner records their time for a race in hours, minutes and seconds. An algorithm is shown below in structured English. INPUT race time as hours, minutes and seconds C…
Programming basics · 9 marks
3 11053 [6] 5 2 A program displays a menu with choices 1 to 4. The code to display the menu is written as the procedure DisplayMenu. (a) Pseudocode which uses this procedure is: C…
Programming basics · 7 marks
3 11053 [6] 5 2 A program displays a menu with choices 1 to 4. The code to display the menu is written as the procedure DisplayMenu. (a) Pseudocode which uses this procedure is: C…
Programming basics · 7 marks · official answer ready
3 11053 [6] 5 2 A program displays a menu with choices 1 to 4. The code to display the menu is written as the procedure DisplayMenu. (b) The following pseudocode is a revised desi…
Programming basics · 7 marks · official answer ready
3 11053 [6] 5 2 A program displays a menu with choices 1 to 4. The code to display the menu is written as the procedure DisplayMenu. (b) The following pseudocode is a revised desi…
Programming basics · 13 marks
(a) Using the letters A to D, add the labelling to the chart boxes on the opposite page. Modules A Send quotation letter B Calculate price C Produce insurance quotation D Input co…
Programming basics · 20 marks
(i) Complete the pseudocode for the given algorithm. FOR ..........................................................................................................................…
Programming basics · 16 marks
(ii) Identify the game result which will produce incorrect output. ................................................................................................................…
Programming basics · 11 marks
4 Terminates the program Ends Complete the pseudocode for the design in part (b), shown again below, to respond to each menu choice. CONSTANT i 3 CALL DisplayMenu NoOfAttempts 0 R…
Constructs · 3 marks · official answer ready
(ii) Some of the following function calls may be invalid. Mark each call with: • a tick (✓), for a valid call • a cross (✗), for an invalid call For any function calls which are i…
