Stack and Queue MCQ Questions and Answers Quiz

11. A queue is a ?

  1. FIFO (First In First Out) list
  2. LIFO (Last In First Out) list.
  3. Ordered array
  4. Linear tree

12. Which of the following is an application of stack?

  1. finding factorial
  2. tower of Hanoi
  3. infix to postfix
  4. all of the above

13. Which is the pointer associated with the stack?

  1. FIRST
  2. FRONT
  3. TOP
  4. REAR

14. New nodes are added to the ……… of the queue.

  1. Front
  2. Back
  3. Middle
  4. Both A and B

15. Deletion operation is done using ……… in a queue.

  1. front
  2. rear
  3. top
  4. list

16. In liked representation of stack ……. holds the elements of the stack.

  1. INFO fields
  2. TOP fields
  3. LINK fields
  4. NULL fields

17. User push 1 element in the stack having already five elements and having stack size as 5 then stack becomes

  1. Overflow
  2. Underflow
  3. User Flow
  4. Crash

18. Act of adding values into a stack is called

  1. Popping
  2. Polling
  3. Pushing
  4. None

19. push() and pop() functions are found in

  1. queues
  2. lists
  3. stacks
  4. trees

20. The elements are removal from a stack in ………. order.

  1. Reverse
  2. Hierarchical
  3. Alternative
  4. Sequential
Tags

MCQ Multiple Choice Questions and Answers on Stack and Queue

Stack and Queue Question and Answer