Programming · 4 question types
Past paper frequency (2018 to 2024)
This topic accounts for approximately 5% of your exam marks.
1D array manipulation with FOR loops appears regularly in Paper 2. 4 to 6 marks.
An array is a named, ordered collection of values of the same data type, stored as a single variable. Each value is accessed using an index.
Three things make arrays different from ordinary variables:
Score1, Score2, Score3, ..., Score30, you can use a single array Scores with 30 elements.Arrays are essential because programs almost always need to handle many values at once: a class of students, a row of pixels in an image, a list of stock prices, a sequence of network packets.