8 marksAbstract Data Types (ADTs)
CAPE Computer Science Unit 2 · 2014 · Paper 2 · Question 1(c)(ii)
Write an algorithm CountQueue using only the standard queue Abstract Data Type (ADT) operations that returns an integer count of the elements in the queue.
The mark scheme is shown once you've answered.
Practise this question