In a queue:

a. Data is added to the top and deleted from the bottom.
b. Data is added to the bottom and deleted from the top.
c. The data in the queue is moved to the top when data is deleted.
d. The data in the queue is moved down when data is deleted.

b. Data is added to the bottom and deleted from the top.

Computer Science & Information Technology

You might also like to view...

Given the following poorly written code sequence:

headPtr = new Node(); headPtr = nullptr; What is the result? a. headPtr points to the new node b. Access the new node by use of headPtr c. The new node is inaccessible d. The program crashes

Computer Science & Information Technology

A DNS zone that is stored and replicated across multiple domain servers is called a(n)__________.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology