Computing 9691 · 9

Algorithm design and problem-solving

28 questions. Open a question to solve it and check the official answer.

2016 May-June · Paper 33 · Q5(b)

Algorithms · 1 mark · official answer ready

(b) An alternative algorithm to search for an item is a binary search. State why a binary search could not have been performed on the data stored in the MyList array. ............…

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 12 · Q6(a)(i)

Algorithms · 2 marks · official answer ready

(i) Describe how to store the team names in a suitable data structure. ............................................................................................................…

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 11 · Q6(a)

Algorithms · 2 marks · official answer ready

(a) Describe a data structure that could be used to store such a puzzle. [2] 11

2014 May-June · Paper 12 · Q6(a)

Algorithms · 2 marks · official answer ready

(a) Describe a data structure that could be used to store such a puzzle. [2] 11

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 October-November · Paper 32 · Q5(c)(iii)

Algorithms · 4 marks · official answer ready

(iii) A binary search is carried out on the data in the Surname array shown. For Examiner's Surname Use 1 Ban 2 Chae 3 Dang 4 Hwang 5 Jeong 6 Jin 7 Jo 8 Ju 9 Ma 10 So 11 Song Comp…

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 …

2013 May-June · Paper 33 · Q4(d)(ii)

Algorithms · 8 marks · official answer ready

(ii) The diagram shows a trace of the execution of this algorithm for the given linked list data. HeadPointer: 3 MyList Data Pointer 1 BEAN 2 2 COURGETTE 4 3 APPLE 1 4 PEPPER 0 ..…

2012 October-November · Paper 12 · Q5

Algorithms · 5 marks · official answer ready

5 A new piece of software has been produced to control a drilling machine on a production For line. Examiner's Use State five sections that will be in the technical documentation …