11.2 Constructs
309 questions in this subtopic. Open a question to solve it and check the official answer.
Constructs · 5 marks · official answer ready
(iii) Give the line number of a statement which shows: Assignment .................................................................................................................…
Constructs · 2 marks · official answer ready
(iv) Ali has written the pseudocode with features that make it easier to understand. State two such features. Feature 1 ...........................................................…
Constructs · 10 marks · official answer ready
(e) The current player is a winner if they have placed their markers in each cell of a row or a column or a diagonal. Ali’s solution checks for a winner after every turn. Complete…
Constructs · 2 marks · official answer ready
(h) When Ali has tested all individual modules he plans to do further testing. Give two types of testing Ali should do. 1 .........................................................…
Constructs · 1 mark
(c) Ali uses the top-down design approach for his overall program solution. His design is as follows: 01 GameEnd ← FALSE 02 CurrentPlayer ← 'O' 03 CALL DisplayGrid() 04 05 REPEAT …
Constructs · 1 mark
(c) Ali uses the top-down design approach for his overall program solution. His design is as follows: 01 GameEnd ← FALSE 02 CurrentPlayer ← 'O' 03 CALL DisplayGrid() 04 05 REPEAT …
Constructs · 5 marks
(c) Ali uses the top-down design approach for his overall program solution. His design is as follows: 01 GameEnd ← FALSE 02 CurrentPlayer ← 'O' 03 CALL DisplayGrid() 04 05 REPEAT …
Constructs · 2 marks
(c) Ali uses the top-down design approach for his overall program solution. His design is as follows: 01 GameEnd ← FALSE 02 CurrentPlayer ← 'O' 03 CALL DisplayGrid() 04 05 REPEAT …
Constructs · 5 marks
(c) Ali uses the top-down design approach for his overall program solution. His design is as follows: 01 GameEnd ← FALSE 02 CurrentPlayer ← 'O' 03 CALL DisplayGrid() 04 05 REPEAT …
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 ..........................................................................................................…
