Skip to content

Data Structures

Which term refers to a linear data structure that follows the Last-In-First-Out (LIFO) principle?

Difficulty: Easy

About this MCQ

This Easy Data Structures MCQ checks one syllabus fact.

The question is: “Which term refers to a linear data structure that follows the Last-In-First-Out (LIFO) principle?”

The accepted answer is D. Stack. Stack is the person, body, or term that satisfies “Which term refers to a linear data structure that follows the Last-In-First-Out (LIFO) principle” (option D). Option A (“Trie”) does not match the stem; it is a near-miss used to catch incomplete recall of Stack. Option B (“Binary search tree”) does not match the stem; it is a near-miss used to catch incomplete recall of Stack. Remaining alternatives (Graph) fall outside the same rule and should be eliminated once Stack is identified. Data Structures questions of this type reward precise definitions rather than approximate associations. Data Structures recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Correct answer

D. Stack

Explanation

Stack is the person, body, or term that satisfies “Which term refers to a linear data structure that follows the Last-In-First-Out (LIFO) principle” (option D). Option A (“Trie”) does not match the stem; it is a near-miss used to catch incomplete recall of Stack. Option B (“Binary search tree”) does not match the stem; it is a near-miss used to catch incomplete recall of Stack. Remaining alternatives (Graph) fall outside the same rule and should be eliminated once Stack is identified. Data Structures questions of this type reward precise definitions rather than approximate associations. Data Structures recall of this distinction is a regular item in FPSC, PPSC, NTS, and CSS papers.

Source: Data Structures Official Reference Guide

Tags: computer science, data structures, algorithms, programming

Submitted by: MCQsHub Editorial

Related MCQs

More Data Structures MCQs