Vehicles at a highway toll booth are served following which principle?
AFILO
BLILO
CFIFO
DLIFO
Answer & Solution
Correct answer: C. FIFO
1. The vehicle that arrived first reaches the booth first.
2. Nothing overtakes in the lane.
3. Vehicles at a highway toll tax booth are served following the principle of FIFO.
4. So the answer is FIFO.
_Source: syllabus Computer Science, Ch 3 'Stack' and Ch 4 'Queue'_
Keep practising Stacks and Queues
Browse all Stacks and Queues questions for IGNOU MCA, or explore more Computer Science topics.