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

1. The last item entered onto a stack is the first item removed from that stack.
2. A queue is similar to a stack in that items are entered and removed in the same order.
3. When an array is used to implement a stack or a queue, the entire array is allocated at once, whether or not it is all needed.
4. Attempting to reference a list node after the node is returned to the heap causes the compiler to generate an error message.
5. When the operator new returns a zero pointer, it means that all of the cells on the heap have been allocated.


1. True
2. False
3. True
4. False
5. True

Computer Science & Information Technology

You might also like to view...

Create a data dictionary entry for a new data store, a new data flow, and a new data process that you are suggesting based on your response

What will be an ideal response?

Computer Science & Information Technology

You can make adjustments directly to pixels on a layer, but you can't go back and re-adjust at a later time.

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

Computer Science & Information Technology

A(n) ____ is a horizontal space at the top of the window that contains the window's name.

A. indicator B. title bar C. identifier D. shortcut

Computer Science & Information Technology

How can the Lens Flare filter be found?

A. Click Filter on the Menu bar, point to Render, then click Lens Flare. B. Click Filter on the Effects bar, point to Render, then click Lens Flare. C. Click Effects on the Tools menu, then click Lens Flare. D. Click Tools on the Menu bar, point to Render, then click Lens Flare.

Computer Science & Information Technology