Array - IGCSE Computer Science Definition

Reviewed by: James Woodhouse

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.

IGCSE Computer Science Revision Resources

Sign up for articles sent directly to your inbox

Receive news, articles and guides directly from our team of experts.

Share this article

James Woodhouse

Reviewer: James Woodhouse

Expertise: Computer Science

James graduated from the University of Sunderland with a degree in ICT and Computing education. He has over 14 years of experience both teaching and leading in Computer Science, specialising in teaching GCSE and A-level. James has held various leadership roles, including Head of Computer Science and coordinator positions for Key Stage 3 and Key Stage 4. James has a keen interest in networking security and technologies aimed at preventing security breaches.

The examiner written revision resources that improve your grades 2x.

Join now