Stack is based on the principle of____________ .
Stack is based on the principle of____________ .
Solution
✅ Correct Option: 2
A stack follows LIFO (Last In, First Out): the element pushed last is the first one popped. Insertion (push) and deletion (pop) both happen at one end, called the top.
Option 1 (FIFO) and Option 3 (FCFS): these describe a queue, where the first element inserted is the first removed.
Option 4 (Round Robin): a CPU scheduling algorithm that gives each process a fixed time slice, not a data structure principle.
Memory trick: a stack of plates, where you take the top plate that was placed last.
Related questions:
2026: 23 May Shift 2
2026: 23 May Shift 1
2026: 21 May Shift 1
2025: 21 May Shift 1