A queue works on which principle?
AFull in first out
BFirst in first out
CFast in first out
DFixed in first out
Answer & Solution
Correct answer: B. First in first out
1. A queue adds at one end and removes at the other.
2. That means arrival order is preserved.
3. A queue works on the First-In-First-Out principle.
4. So the answer is first in first out.
_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.