Skip to content

Course home

Data structures

Data structures

EasyMedium
1234567891011121314151617181920212223
Question 1

Refer to the following algorithm written in pseudocode:

1  Set cities To ["Tokyo", "Paris", "New York", "Nairobi", "Sydney"]
2  Set index To 0
3  While index < 6
4      Print(cities[index])
5      Set index To index + 1
6  EndWhile

What type of data structure is the variable cities?

[1]
Markscheme

Data structures Questions

  1. GCSE
  2. /Computer Science
  3. /Data structures

36 exam-style questions on AQA GCSE Computer Science Data structures. Each one has a worked solution and a mark scheme showing where the marks go.

Question bank