Stack and Queue Question with Answer


11. A queue is a ?

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

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

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

13. Which is the pointer associated with the stack?

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

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

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

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

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

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

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

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

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

18. Act of adding values into a stack is called

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

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

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

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

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

Tags :


Multiple Choice Questions and Answers on Stack and Queue


Stack and Queue Multiple Choice Questions and Answers


Stack and Queue Trivia Quiz


Stack and Queue Question and Answer PDF Online




Spreading Knowledge Across the World

USA - United States of America  Canada  United Kingdom  Australia  New Zealand  South America  Brazil  Portugal  England  Scotland  Norway  Ireland  Denmark  France  Spain  Poland  Netherland  Germany  Sweden  South Africa  Ghana  Tanzania  Nigeria  Kenya  Ethiopia  Zambia  Singapore  Malaysia  India  Pakistan  Nepal  Taiwan  Philippines  Libya  Cambodia  Hong Kong  China  UAE - Saudi Arabia  Qatar  Oman  Kuwait  Bahrain  Dubai  Israil  and many more....