GATE DA 2024 · Stacks

MCQ · 1 mark · Problem PROG-DSTR-0075

Match the items in Column 1 with the items in Column 2 in the following table:\[\begin{array}{|l|l|} \hline \text{Column 1} & \text{Column 2} \\ \hline (p) \text{ First In First Out} & \text{(i) Stacks }\\ \hline (q) \text{ Lookup Operation} & \text{(ii) Queues}\\ \hline (r) \text{ Last In First Out} & \text{(iii) Hash Tables}\\ \hline \end{array}\]
  1. A
    (p) - (ii), (q) - (iii), (r) - (i)
  2. B
    (p) - (ii), (q) - (i), (r) - (iii)
  3. C
    (p) - (i), (q) - (ii), (r) - (iii)
  4. D
    (p) - (i), (q) - (iii), (r) - (ii)

Solve it on GATE DA practice →More Basic Data Structures problems

Show the worked solutionOfficial GATE Answer Key: Option A.See full step-by-step discussion on GateOverflow: https://gateoverflow.in/422956/gate-ds%26ai-2024-question-6See full step-by-step discussion on GateOverflow: https://gateoverflow.in/422946/gate-ds%26ai-2024-question-16

GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com