Programming
468 questions. Open a question to solve it and check the official answer.
Constructs · 2 marks
(h) When Ali has tested all individual modules he plans to do further testing. Give two types of testing Ali should do. 1 .........................................................…
Constructs · 100 marks · official answer ready
(iii) In the high-level programming language you chose in part (b)(ii), write statements to initialise the array Board before there are any slides or ladders. ....................…
Constructs · 4 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…
Constructs · 1 mark
(iii) State how many iterations of the outer loop have occurred before there are no more changes to the contents of the array. ....................................................…
Constructs · 2 marks · official answer ready
(iv) Describe why this algorithm is inefficient. ..................................................................................................................................…
Constructs · 5 marks · official answer ready
(v) Meena has started to write an improved version of the algorithm. Complete the pseudocode. n ← 4 REPEAT ........................................................................…
Constructs · 2 marks · official answer ready
(c) When Ahmed has tested the function, he plans to use it in a program. Give two types of testing that Ahmed could do with the completed program. 1 ..............................…
Constructs · 5 marks
7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…
Constructs · 6 marks
7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…
Constructs · 6 marks
7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…
Constructs · 2 marks
(iii) Give two benefits to the company that an intranet would provide. 1 ..........................................................................................................…
Constructs · 5 marks
7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…
Constructs · 6 marks
7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…
Constructs · 6 marks
7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…
Constructs · 2 marks
(iii) Give two benefits to the company that an intranet would provide. 1 ..........................................................................................................…
Constructs · 1 mark · official answer ready
(ii) Give one disadvantage of direct changeover when compared to other methods. ...................................................................................................…
Constructs · 3 marks · official answer ready
(b) Describe a use for each of the types of storage medium named above. Give a different use in each case. magnetic ...............................................................…
Structured programming · 2 marks · official answer ready
(e) The microprocessor contains both RAM and ROM. Give one function of each type of memory in the alarm clock. RAM ................................................................…
Constructs · 2 marks · official answer ready
(a) Write a pseudocode statement to declare the array Tally. ......................................................................................................................…
Programming basics · 4 marks · official answer ready
(i) Write the pseudocode for the procedures InitialiseArrayCounts and InputStudentChoices: PROCEDURE InitialiseArrayCounts ........................................................…
