Question 2(b) 2019 · October-November · Paper 42 · 4 marks
Reveal official mark-scheme answer
Official answer for Question 2
Part (b)
Question 1
mark per bullet point
Question 4
- « 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
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.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................
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
