Six original Cambridge-style questions on one-dimensional arrays, with mark points.
Describe what is meant by a one-dimensional array.
Write pseudocode to declare an array Heights to store 20 real values and use a loop to input all 20 values.
DECLARE Heights : ARRAY[1:20] OF REAL ✓FOR Index ← 1 TO 20 ... NEXT Index ✓INPUT Heights[Index] inside the loop ✓The array Prices[1:50] holds 50 prices. Write pseudocode to find and output the lowest price.
Lowest ← Prices[1] ✓FOR Index ← 2 TO 50 ✓IF Prices[Index] < Lowest THEN Lowest ← Prices[Index] ✓OUTPUT Lowest ✓State the values stored in Data and the output.
FOR Index ← 1 TO 4
Data[Index] ← Index * Index - 1
NEXT Index
OUTPUT Data[2] + Data[4]The array Marks[1:30] holds 30 marks. Write pseudocode to count and output how many marks are 50 or more.
Count ← 0 before the loop ✓FOR Index ← 1 TO 30 ✓IF Marks[Index] >= 50 THEN Count ← Count + 1 ✓OUTPUT Count ✓Explain why storing 30 names in an array is better than using 30 separate variables.
Mark this once you have attempted all six and checked your working. It records a Practiced badge on the topic and adds a one-time bonus. Revealing the solutions alone does not count.