Arrays (Edexcel GCSE Computer Science): Quizzes

📚Quizzes
Arrays
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

12 questions from this quiz

Show

What is an array in computer programming?

An organized method for storing data

How does an array differ from a variable?

Arrays can store multiple pieces of data

What number does array indexing start at?

0

In the color array example, what index is 'green' at?

1

If an array has a length of 5, what is the highest index?

4

How do you access the first element of an array called names?

names[0]

What does traversing an array mean?

Going through every element one by one

Which brackets are used to create a 1D array?

Square brackets [ ]

What is a two-dimensional array like?

A table or grid with rows and columns

How many indexes are needed to access a 2D array element?

2

How do you access row 1, column 3 in a 2D array called scores?

scores[1][3]

Which comes first when accessing a 2D array element?

Row, then column

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

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