Which of the following statements about stack deletion is false?

A. The deletion algorithm is traditionally referred to as pop.
B. The deletion algorithm passes the deleted data to the calling function.
C. After the node is deleted, its memory space is returned to the dynamic memory pool.
D. Because data can be inserted and deleted only at the top, we don't need to test for an empty stack.
E. To logically delete a node, the top pointer is replaced with the link in the deleted node.


Answer: D

Computer Science & Information Technology

You might also like to view...

Intermediate Stream operation ________ results in a stream with the specified number of elements from the beginning of the original stream.

a. distinct b. map c. filter d. limit

Computer Science & Information Technology

Some labs use eyetracking cameras and software to track people's eye movements as they read a page or screen of material.

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

Computer Science & Information Technology

One nanometer (nm) is ____ of a meter.

A. one-billionth B. one-millionth C. one-thousandth D. one-tenth

Computer Science & Information Technology

A technician is setting up a SOHO and has configured the wireless NIC on the laptop with WPA2. While configuring the WAP, WPA2 is not listed as an option. Which of the following should the technician do NEXT?

A. Install the latest wireless NIC drivers B. Install the latest wireless NIC firmware C. Install the latest WAP firmware D. Install the latest WAP drivers

Computer Science & Information Technology