Which data structure uses the FIFO (First In, First Out) principle?
A queue follows FIFO: the first element inserted (at the rear) is the first one removed (from the front), like a line at a ticket counter.
A stack is LIFO.
Answer: (B) queue
Reinforce your conceptual grasp with related questions from MAH MCA CET 2025:
Take timed full-length mock tests with authentic question distributions, negative marking (+12/-3 in Math), and instant All India Rank calculation.
Start Free Mock Test Series →