Question 95Asked in BPSC TRE 2.0 (2023) Computer Science Class 11-12

Stack data structure uses

  1. AFIFO
  2. BLIFO
  3. CLILO
  4. DMore than one of the above
  5. ENone of the above
Show answerHide answer

Correct answer: (B) LIFO

Explanation

A stack works on LIFO (last in, first out). Push and pop both happen at the top.

From BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper

This is question 95 of BPSC TRE 2.0 (2023) Computer Science Class 11-12 — Previous Year Paper. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.