Past-paper question · 2013 October-November · Paper 13 · Q9(b)(ii)

Question 9(b)(ii) 2013 · October-November · Paper 13 · 1 mark

Original past-paper question for 9(B)(II)
Original past-paper question for 9(B)(II)
Original past-paper question for 9(B)(II)
Original past-paper question for 9(B)(II)
Original past-paper question for 9(B)(II)
Original past-paper question for 9(B)(II)
Reveal official mark-scheme answer Official mark-scheme answer for 9(B)(II)

Official answer for Question 9

Part (b)

(ii)

(ii)

Colour (5)

[1]

Mark scheme 9691_w13_ms_13.pdf →

Show text version of question

Question 9

Part (b)

(ii)

Question 9

The array Colour stores colours typed in by the user. For

Examiner's Use The array is treated as a queue. The first four colours entered are YELLOW, PURPLE, For WHITE, PINK in this order. Examiner's Use

Colour

Question 7

Question 6

Question 5

4 PINK 3 WHITE 2 PURPLE 1 YELLOW

(ii)

A new colour, ORANGE, is then added.

Into which array element would ORANGE be stored?

[1]

Question 14

Question 15

Question 16

reasonable effort has been made by the publisher (UCLES) to trace copyright holders, but if any items requiring clearance have unwittingly been included, the publisher will be pleased to make amends at the earliest possible opportunity.

University of Cambridge International Examinations is part of the Cambridge Assessment Group. Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge.

Topic relevance

Why this question appears here

71% assigned-topic match · Programming › Constructs

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_w13_qp_13.pdf

Keep practising this topic