Arrays (Edexcel GCSE Computer Science): Flashcards

📚Flashcards
Arrays
Sign up to keep revising.Create a free account to study more flashcards and track your progress.

Practise the cards

12 cards from this deck

Show

Array definition

Organized method for storing data

Arrays vs variables: key difference

Arrays store multiple values; variables store one

Element in an array

Individual data item in an array

Index in an array

Specific position of an element

Starting index number for arrays

0 (zero-based indexing)

Highest index in array with 5 elements

4

1D array definition

Single row of data

Syntax to access array element

Array name followed by index in square brackets

Traversing an array meaning

Going through every element one by one

2D array definition

Table/grid with rows and columns

Indexes needed for 2D array element

Two: one for row, one for column

2D array indexing order rule

Row first, then column

Join 100,000+ GCSE students studying Flashcards with us.

Select your subjects, and get access to A+ resources today.