Pakistan's best MCQs practice hub — FPSC · PPSC · CSS · NTS · Other Exams
Login

Which linear data structure operates strictly on a Last-In, First-Out (LIFO) access mechanism?

AQueue
BLinked List
CStack
DBinary Tree

Explanation

A Stack works on LIFO (Last-In, First-Out), where push and pop operations happen at the top element. A Queue operates on FIFO (First-In, First-Out).

Exam Relevance
  • Topic: Data Structures & Algorithms
  • Subtopic: Linear Data Structures
Submitted by: mcqstutor Team More Computer MCQs →

No Comments

Leave a comment

Your email address will not be published. Required fields are marked *