The test's questions that a run answers, asked again on new numbers whenever you like. The answer, its working and the reason for every other choice come from queue's own run on the numbers shown.
choose one
1question 1
An empty queue is given 22, 90, -, 58, 15, -. Each number joins, and each dash lets the front one leave. What does the line hold then, front first?
the answer, and why
the answer is D
22 leaves first, the oldest. Then 58 and 15 join behind 90, and the last dash lets 90 leave.
if you chose another
AThat is a stack's answer, where each dash takes the newest. A leave always takes the front.
BThat misses the last leave, which lets 90 go.
CThat reads the line from the back. Front first, 58 leads.