GATE CS 1996 · Arrays & Matrix Representation

MCQ · 1 mark · Problem PROG-DSTR-0265

Consider the following statements:(i). First-in-first out types of computations are efficiently supported by STACKS.(ii). Implementing LISTS on linked lists is more efficient than implementing LISTS on an array for almost all the basic LIST operations.(iii). Implementing QUEUES on a circular array is more efficient than implementing QUEUES on a linear array with two indices.(iv). Last-in-first-out type of computations are efficiently supported by QUEUES.
  1. A
    (ii) and (iii) are true
  2. B
    (i) and (ii) are true
  3. C
    (iii) and (iv) are true
  4. D
    (ii) and (iv) are true

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/2716/gate1996-1-12

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