Skip to content

Course home

Data structures

Data structures

EasyMedium
1234567891011121314151617181920212223
Question 2

Refer to the following pseudocode sequence:

scores = [84, 92, 76, 65, 88]
count = 0
while count < 3
    index = random(0, 4)
    print(scores[index])
    count = count + 1
endwhile

State the type of data structure represented by the variable scores.

[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