Stack and Queues MCQ
Stack and Queues MCQ
Stack and Queues MCQ
1) ……… form of access is used to add and remove nodes from a queue.
A. LIFO, Last In First Out
B. FIFO, First In First Out
C. Both a and b
D. None of these
4) In the linked representation of the stack ……… behaves as the top pointer variable
of stack.
A. Stop pointer
B. Begin pointer
C. Start pointer
D. Avail pointer
8) A queue is a ………
A. FIFO
B. LIFO
C. FILO
D. LOFI
17) ………. is the term used to delete an element from the stack.
A. Push
B. Pull
C. Pop
D. Pump
19) A pointer variable which contains the location at the top element of the stack is
called …..
A. Top
B. Last
C. Final
D. End
GP CHAPRA