2Easy
0/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]

Data structures Questions

Practise AQA GCSE Computer Science Data structures with exam-style questions for GCSE Computer Science. 37 questions, matched to the AQA GCSE Computer Science (8525) specification and written in Paper 1 and Paper 2 style. Every question includes a full worked solution and mark scheme, so you can see where marks are awarded rather than just whether you got the answer right.

PreviousNext

Data structures Questions

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