Computing 9691 · 9

9.2 Algorithms

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

Reset
2015 May-June · Paper 21 · Q3(f)

Algorithms · 5 marks · official answer ready

(f) The subroutine DisplayGrid is to output the state of play at any time. For example, after three turns the display should look like: : : O : O X : : : where the character ‘:’ s…

2015 May-June · Paper 21 · Q4(f)

Algorithms · 5 marks

(f) The subroutine DisplayGrid is to output the state of play at any time. For example, after three turns the display should look like: : : O : O X : : : where the character ‘:’ s…

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

Algorithms · 5 marks · official answer ready

(f) The subroutine DisplayGrid is to output the state of play at any time. For example, after three turns the display should look like: : : O : O X : : : where the character ‘:’ s…

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

Algorithms · 5 marks

(f) The subroutine DisplayGrid is to output the state of play at any time. For example, after three turns the display should look like: : : O : O X : : : where the character ‘:’ s…

2014 October-November · Paper 21 · Q4(c)(iii)

Algorithms · 36 marks

(iii) Ahmed wants the program to add an extra 10% to the number of tiles required in case any tiles get broken during the work. In a high-level language, write programming stateme…

2014 October-November · Paper 23 · Q4(c)(iii)

Algorithms · 36 marks

(iii) Ahmed wants the program to add an extra 10% to the number of tiles required in case any tiles get broken during the work. In a high-level language, write programming stateme…

2014 October-November · Paper 31 · Q2(b)

Algorithms · 2 marks · official answer ready

(b) For a computer system using multi-programming, the low-level scheduler decides what process will get next use of the processor. One algorithm could be a “round-robin”; that is…

2014 October-November · Paper 33 · Q2(b)

Algorithms · 2 marks · official answer ready

(b) For a computer system using multi-programming, the low-level scheduler decides what process will get next use of the processor. One algorithm could be a “round-robin”; that is…

2014 May-June · Paper 21 · Q1(b)

Algorithms · 6 marks · official answer ready

(b) If the child chooses the number 7, the screen displays: 7 Times Table ============= 1 × 7 = 7 2 × 7 = 14 3 × 7 = 21 4 × 7 = 28 5 × 7 = 35 6 × 7 = 42 7 × 7 = 49 8 × 7 = 56 9 × …

2014 May-June · Paper 22 · Q1(b)

Algorithms · 6 marks · official answer ready

(b) If the child chooses the number 7, the screen displays: 7 Times Table ============= 1 × 7 = 7 2 × 7 = 14 3 × 7 = 21 4 × 7 = 28 5 × 7 = 35 6 × 7 = 42 7 × 7 = 49 8 × 7 = 56 9 × …

2014 May-June · Paper 23 · Q4(b)(ii)

Algorithms · 32 marks · official answer ready

(ii) Using a high-level programming language, declare a record structure for the fields defined in part (b)(i). Language Code [4] 7 Question 3 begins on page 8. 8 3 Raza wants to …

2013 May-June · Paper 21 · Q2(b)

Algorithms · 20 marks · official answer ready

(b) The data input for HandInDate also needs validating. It will be entered as DDMMYYYY. • DD must be less than 32 and greater than 0 • MM must be less than 13 and greater than 0 …

2013 May-June · Paper 22 · Q2(b)

Algorithms · 20 marks · official answer ready

(b) The data input for HandInDate also needs validating. It will be entered as DDMMYYYY. • DD must be less than 32 and greater than 0 • MM must be less than 13 and greater than 0 …