Which of the following statements about stacks is incorrect?

a. Stacks can be implemented using linked lists.
b. Stacks are first-in, first-out (FIFO) data structures.
c. New nodes can only be added to the top of the stack.
d. The last node (at the bottom) of a stack has a null (0) link.


b. Stacks are first-in, first-out (FIFO) data structures.

Computer Science & Information Technology

You might also like to view...

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

1. A class is not an object but a description of an object. 2. The same rules for naming variables apply to naming classes. 3. The class header defines a class's fields, properties, and methods. 4. When a class's fields are hidden from outside code, its data is vulnerable to accidental corruption.

Computer Science & Information Technology

The Linux command to print on a specific (named) printer is

a: lpr -d filename b: lpr filename printer-name c: lpr -p printer-name filename d: print filename ptr1 e: pr -d printer-name filename

Computer Science & Information Technology

Which of the following is a program that appears to be something useful or desirable but does something malicious in the background?

A) A bot B) A Trojan horse C) A worm D) A zombie

Computer Science & Information Technology

HTML is used

(a) to render Web pages. (b) to incorporate programs into a document. (c) to specify where a document is located on disk. (d) to specify the structure of a document.

Computer Science & Information Technology