Sei sulla pagina 1di 1

OED ITE 6201

QUIZ 001 & 002

1. _____ form of access is used to add and remove nodes from a queue.
ANS: FIFO, First in First Out
2. In liked representation of stack _____ holds the elements of the stack.
ANS: INFO fields
3. _____ form of access is used to add remove nodes from a stack.
ANS: LIFO
4. In the linked representation of the stack _____ behaves as the top pointer variable of stack.
ANS: Start Pointer
5. New nodes are added to the _____ of the queue.
ANS: Back
6. In linked representation of stack the null pointer of the last node in the list signals _____
ANS: Bottom of the Stack
7. What happens when you push a new node onto a stack?
ANS: The new node is placed at the front of the linked list
8. A queue is a _____.
ANS: FIFO
9. Which of the following name does not relate to stacks?
ANS: FIFO lists
10. The retrieval of items in a stack is _____ operation.
ANS: pop
11. The term push and pop is related to _____.
ANS: Stacks
12. Which is the pointer associated with the stack?
ANS: TOP
13. The elements are removal from a stack in _____ order.
ANS: Reverse
14. The insertion operation in the stack is called _____.
ANS: push
15. _____ is the term used to insert an element into stack.
ANS: push
16. Stack follows the strategy of _____.
ANS: LIFO
17. _____ is the term used to delete an element from the stack.
ANS: Pop
18. Deletion operation is done using _____ in a queue.
ANS: front
19. A pointer variable which contains the location at the top element of the stack is called _____.
ANS: Top
20. Which of the following is an application of stack?
ANS: all of the above

Potrebbero piacerti anche