Question:

Match List I with List II
LIST ILIST II
A. StackIV. LIFO
B. EOFIII. Exception
C. TreeII. Non-linear Data Structure
D. QueueI. FIFO

Show Hint

In data structures, understanding the different ordering principles (LIFO vs FIFO) helps in identifying stack and queue operations.
Updated On: Apr 24, 2025
  • A-IV, B-III, C-II, D-I
  • A-II, B-III, C-IV, D-I
  • A-I, B-II, C-III, D-IV
  • A-IV, B-III, C-I, D-II
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is A

Solution and Explanation

- A. Stack follows LIFO (Last In, First Out) order, so it matches with IV.
- B. EOF (End Of File) is related to handling the end of file, which is an exception, so it matches with III.
- C. A Tree is a non-linear data structure, so it matches with II.
- D. A Queue follows FIFO (First In, First Out) order, so it matches with I.
Thus, the correct matching is A-IV, B-III, C-II, D-I.
Was this answer helpful?
0
0

Top Questions on Data Structures

View More Questions