Past-paper question · 2019 October-November · Paper 42 · Q2(b)

Question 2(b) 2019 · October-November · Paper 42 · 4 marks

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

Official answer for Question 2

Part (b)

Question 1

mark per bullet point

Question 4

✓
1 mark for:
  • « if the start pointer reaches the end of the queue, it becomes the index of the first element in the queue
  • Checks if the circular queue is empty // Checks if the queue has any data in it
  • « if it is empty it reports that it is empty
  • If not empty, return the value at the position of the start pointer «
  • « then increments the start pointer
✓
9608/42
✓
Cambridge International AS/A Level – Mark Scheme
✓
October/November 2019
✓
PUBLISHED
✓
Question
✓
Answer
✓
Marks

Mark scheme 9608_w19_ms_42.pdf →

Show text version of question

Question 2

Part (b)

Question 2

The number of cars that cross a bridge is recorded each hour. This number is placed in a circular

queue before being processed.

Part (b)

Describe how a number is removed from the circular queue to be processed.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................

[4]
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 9608_w19_qp_42.pdf

Keep practising this topic