Array: IGCSE Computer Science Definition
Written by: James Woodhouse
Reviewed by: Robert Hampton
Last updated
What is an array?
In IGCSE Computer Science, an array is a fixed-size data structure that stores multiple values of the same data type in contiguous memory locations. Arrays can be one-dimensional (1D) or multi-dimensional (2D, 3D, etc.).
Why use arrays?
Arrays allow efficient storage and retrieval of data, making them useful for storing lists, tables, and matrices in programming.
Example in Python:
numbers = [10, 20, 30, 40]
print(numbers[1]) # Output: 20
Revision resources to ace your exams
Explore arrays in more detail and master other key related terms such as 1D and 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.
Sign up for articles sent directly to your inbox
Receive news, articles and guides directly from our team of experts.
Share this article