8.2 Arrays
32 questions in this subtopic. Open a question to solve it and check the official answer.
Arrays · 1 mark · official answer ready
(b) Explain why you chose this loop structure. ....................................................................................................................................…
Arrays · 6 marks · official answer ready
4 This pseudocode algorithm allows 5000 numbers to be entered and stored in an array called Number. FOR Count 1 TO 5000 INPUT Number[Count] NEXT Count Extend and re-write the algo…
Arrays · 4 marks · official answer ready
1 (a) All variables, constants and other identifiers must have meaningful names. Name two arrays you could use for Task 1. State the data type and purpose of each one. Array 1 ...…
Arrays · 5 marks · official answer ready
(ii) Describe the arrays that you have used to store the data for the children in Task 1. Include the name, data type and its use for each array. .................................…
Arrays · 6 marks · official answer ready
(i) State the name, data type and use of three arrays you have created for Task 1. Array 1 name ...................................................................................…
Arrays · 4 marks · official answer ready
(ii) Describe, with the aid of some sample data, the data structures that you have used to record the data for the cows in Task 1. ................................................…
Arrays · 3 marks · official answer ready
(i) Declare suitable arrays for each of the planes to store time slots booked. ....................................................................................................…
Arrays · 0 marks · official answer ready
2 This section of program code asks for 80 numbers between 100 and 1000 to be entered. It checks that the numbers are in the correct range, and stores them in an array. It counts …
Arrays · 2 marks · official answer ready
(ii) Name two arrays you used for Task 2 and state the purpose of each one. Array 1 ...............................................................................................…
Arrays · 1 mark · official answer ready
(ii) It has been decided to record the temperatures for one week rather than one month. Write the new array declarations that you would use. ......................................…
Arrays · 1 mark · official answer ready
(i) Declare the array to store the pupils’ names. .................................................................................................................................…
Arrays · 1 mark · official answer ready
(ii) Declare the array to store the pupils’ weights. ..............................................................................................................................…
