Computing 9691 · 10

10.2 Arrays

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

Reset
2016 May-June · Paper 11 · Q8(c)

Arrays · 2 marks

(c) For the game shown above, show the values that are currently stored in the following array elements. State whether the first index number is used for the row or column. Board[…

2016 May-June · Paper 23 · Q3

Arrays · 0 marks

3 A social club organises a competition for ten members. The competition consists of eight games. All ten competitors take part in all games. At the end of each game, each competi…

2015 October-November · Paper 31 · Q5(b)(ii)

Arrays · 0 marks · official answer ready

(ii) Complete the diagram below showing the contents of the arrays and the root pointer variable. RootPtr LeftPtr City RightPtr 1 LIMA 2 3 4 5

2015 October-November · Paper 32 · Q4(b)

Arrays · 0 marks · official answer ready

(b) The binary tree is implemented in a high-level language using a number of data structures and one variable: Variable Data type Description RootPtr INTEGER The array subscript …

2015 October-November · Paper 32 · Q6(a)(iii)

Arrays · 1 mark · official answer ready

6 (a) A user-defined function CountBig is defined, using pseudocode, as follows: CountBig(ThisArray : ARRAY OF INTEGER, ThisValue : INTEGER, ThisFlag : CHAR) : INTEGER The functio…

2015 October-November · Paper 32 · Q6(a)(iv)

Arrays · 1 mark · official answer ready

6 (a) A user-defined function CountBig is defined, using pseudocode, as follows: CountBig(ThisArray : ARRAY OF INTEGER, ThisValue : INTEGER, ThisFlag : CHAR) : INTEGER The functio…

2015 October-November · Paper 32 · Q6(a)(v)

Arrays · 1 mark · official answer ready

6 (a) A user-defined function CountBig is defined, using pseudocode, as follows: CountBig(ThisArray : ARRAY OF INTEGER, ThisValue : INTEGER, ThisFlag : CHAR) : INTEGER The functio…

2015 October-November · Paper 32 · Q6(b)(i)

Arrays · 2 marks · official answer ready

6 (a) A user-defined function CountBig is defined, using pseudocode, as follows: CountBig(ThisArray : ARRAY OF INTEGER, ThisValue : INTEGER, ThisFlag : CHAR) : INTEGER The functio…

2015 October-November · Paper 32 · Q6(b)(ii)

Arrays · 2 marks · official answer ready

6 (a) A user-defined function CountBig is defined, using pseudocode, as follows: CountBig(ThisArray : ARRAY OF INTEGER, ThisValue : INTEGER, ThisFlag : CHAR) : INTEGER The functio…

2015 October-November · Paper 32 · Q6(c)(ii)

Arrays · 16 marks

(ii) State an output variable which will provide data for the planning process for the traffic control system. ....................................................................…

2015 October-November · Paper 33 · Q5(b)(ii)

Arrays · 0 marks · official answer ready

(ii) Complete the diagram below showing the contents of the arrays and the root pointer variable. RootPtr LeftPtr City RightPtr 1 LIMA 2 3 4 5

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

Arrays · 100 marks · official answer ready

(ii) In a high-level programming language, write statements to declare the array Board. Programming language ......................................................................…

2014 October-November · Paper 11 · Q5(b)(ii)

Arrays · 4 marks · official answer ready

(ii) The pseudocode below stores values in the data structure as follows: • it initialises the place values in the locations represented by the first row • it stores input data in…

2014 October-November · Paper 13 · Q5(b)(ii)

Arrays · 4 marks · official answer ready

(ii) The pseudocode below stores values in the data structure as follows: • it initialises the place values in the locations represented by the first row • it stores input data in…

2014 May-June · Paper 21 · Q2(b)(i)

Arrays · 2 marks

(i) Two one-dimensional arrays, Name and BestScore, are to store the name and score for each child in the class. Use a high-level programming language to declare these two arrays.…

2014 May-June · Paper 22 · Q2(b)(i)

Arrays · 2 marks

(i) Two one-dimensional arrays, Name and BestScore, are to store the name and score for each child in the class. Use a high-level programming language to declare these two arrays.…

2014 May-June · Paper 33 · Q4(c)

Arrays · 0 marks · official answer ready

(c) The first seven sports joined the tree in the order: JUDO, SOCCER, SAILING, SWIMMING, ATHLETICS, WRESTLING, HOCKEY. Complete the diagram below showing the contents of the arra…

2013 October-November · Paper 21 · Q1(e)

Arrays · 0 marks

(e) Juan will need the program to hold large amounts of data. His design will include For reading the data from the sequentially-organised resource file into several arrays. Exami…

2013 October-November · Paper 21 · Q2(e)

Arrays · 2 marks

2 [2] (e) Juan will need the program to hold large amounts of data. His design will include For reading the data from the sequentially-organised resource file into several arrays.…

2013 May-June · Paper 11 · Q7(a)(i)

Arrays · 2 marks · official answer ready

(i) Describe how the Xs and Os would be stored in a two-dimensional array called Grid. [2]