What is a 1-dimensional array?
In IGCSE Computer Science, a 1-dimensional (1D) array is a structured data type that stores multiple elements of the same data type in a single linear structure. Each element is accessed using an index, starting from 0 in most programming languages.
How is a 1D array used?
1D arrays are commonly used for storing lists of values, such as student scores or sensor readings. They allow efficient data retrieval and modification.
Example in Python:
scores = [12, 10, 5, 2, 8]
print(scores[2]) # Output: 5
Revision resources to ace your exams
Explore 1D arrays in more detail and master other key related terms such as 2D arrays in our revision note pages here:
Arrays (CIE IGCSE Computer Science)
Challenge yourself with our expertly crafted topic questions and strengthen your understanding with our engaging flashcards.
Examiner-written IGCSE Computer Science revision resources that improve your grades 2x
- Written by expert teachers and examiners
- Aligned to exam specifications
- Everything you need to know, and nothing you don’t

Share this article