Past-paper question · 2013 May-June · Paper 11 · Q7(a)(i)

Question 7(a)(i) 2013 · May-June · Paper 11 · 2 marks

Original past-paper question for 7(A)(I)
Original past-paper question for 7(A)(I)
Reveal official mark-scheme answer Official mark-scheme answer for 7(A)(I)

Official answer for Question 7

Part (a)

(i)

Part (a)

(i)

Any two points from:

✓
(use of a 2-dimensional array) Grid [1:3, 1:3]
✓
use 1 value for “X” and 0 value for “O” or characters “X” and “O”
✓
each square in game corresponds to position in array …..
✓
... e.g. 1 value in Grid [1, 1], 0 value in Grid [2,1] and so on
✓
each time a square is “filled in” the position is identified and appropriate value stored in
✓
correct position in array Grid
[2]

Mark scheme 9691_s13_ms_11.pdf →

Show text version of question

Question 7

Part (a)

(i)

Question 7

A game of “noughts and crosses” is shown below. Players take alternate turns to place their For

X or O in one of the empty boxes until one player gets three identical symbols in a line Examiner's Use (across, down or diagonal) or the grid becomes full. The grid shows the game after the first five turns. Player X has the next turn.

X O

X

O O

(i)

Describe how the Xs and Os would be stored in a two-dimensional array called

Grid.

[2]
Topic relevance

Why this question appears here

71% assigned-topic match · Data types and structures › Arrays

Topic-match percentages estimate how closely each question fits the selected syllabus topic. They are a guide for choosing stricter or broader practice.

Permanent source page: Educate A Change · From 9691_s13_qp_11.pdf

Keep practising this topic