Computing 9691 · 11

11.2 Constructs

309 questions in this subtopic. Open a question to solve it and check the official answer.

Reset
2015 May-June · Paper 22 · Q3(c)(iii)

Constructs · 5 marks · official answer ready

(iii) Give the line number of a statement which shows: Assignment .................................................................................................................…

2015 May-June · Paper 22 · Q3(c)(iv)

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 ...........................................................…

2015 May-June · Paper 22 · Q3(e)

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…

2015 May-June · Paper 22 · Q3(h)

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 .........................................................…

2015 May-June · Paper 22 · Q4(c)(i)

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 …

2015 May-June · Paper 22 · Q4(c)(ii)

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 …

2015 May-June · Paper 22 · Q4(c)(iii)

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 …

2015 May-June · Paper 22 · Q4(c)(iv)

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 …

2015 May-June · Paper 22 · Q4(c)(v)

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 …

2015 May-June · Paper 22 · Q4(h)

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 .........................................................…

2015 May-June · Paper 23 · Q2(b)(iii)

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. ....................…

2015 May-June · Paper 23 · Q3(a)(i)

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…

2015 May-June · Paper 23 · Q3(a)(iii)

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. ....................................................…

2015 May-June · Paper 23 · Q3(a)(iv)

Constructs · 2 marks · official answer ready

(iv) Describe why this algorithm is inefficient. ..................................................................................................................................…

2015 May-June · Paper 23 · Q3(a)(v)

Constructs · 5 marks · official answer ready

(v) Meena has started to write an improved version of the algorithm. Complete the pseudocode. n ← 4 REPEAT ........................................................................…

2015 May-June · Paper 23 · Q4(c)

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 ..............................…

2015 May-June · Paper 31 · Q7(c)

Constructs · 5 marks

7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…

2015 May-June · Paper 31 · Q7(c)(i)

Constructs · 6 marks

7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…

2015 May-June · Paper 31 · Q7(c)(ii)

Constructs · 6 marks

7 .............................................................................................................................................. [3] 9 3 (c) The student uses the p…

2015 May-June · Paper 31 · Q7(c)(iii)

Constructs · 2 marks

(iii) Give two benefits to the company that an intranet would provide. 1 ..........................................................................................................…