MCQ on Stack | Queue | Array | Linked List Data Structures


6) In which data structure memory is contiguous
  1. Array
  2. Link list
  3. Both
  4. None

Answer:1


7)True statements about Stack and Queue are

I. Stack and Queue both are linear data structures
II. Stack is non- linear data structure.
III. Stack is LIFO
IV. Queue is FIFO

  1. I and II only
  2. I and III
  3. I, III and IV
  4. All are correct.

Answer: 3


Related Posts