A stack follows ____________principle.
A stack follows ____________principle.
Solution
✅ Correct Option: 2
A stack follows the LIFO (Last In, First Out) principle. Insertion (push) and removal (pop) both happen at one end, the top, so the element added last is the first to be removed.
Option 1: FIFO (First In, First Out) is the principle of a queue, not a stack.
Option 3: Enqueue and dequeue are queue operations. A stack uses push and pop.
Option 4: LILO (Last In, Last Out) is just another name for FIFO, so it also describes a queue.
Related questions:
2026: 24 May Shift 1
2025: 16 May Shift 1
2025: 16 May Shift 1
2025: 14 May Shift 1
2026: 26 May Shift 1