Answer the following statements true (T) or false (F)

1. The first item placed onto a stack is always the last item removed from the stack.
2. A dynamic stack starts as an empty linked list.
3. The pop function in the stack template of the STL does not retrieve the value from the top of the stack; it merely removes it.
4. The two most common queue operations are endeque and deque.
5. The STL provides containers for deque and queue.

1. T
2. T
3. T
4. F
5. T

Computer Science & Information Technology

You might also like to view...

A lookup table or list cannot be removed from a field after it has been added

Indicate whether the statement is true or false

Computer Science & Information Technology

A network that is geographically dispersed and may use some form of public or commercial communications network is called a(n):

a. LAN b. WAN c. Internet d. WWW

Computer Science & Information Technology