Which of the following statements about queue insertion is true?

A. Queue insertion takes place at the front of the queue.
B. If there is not enough room in memory for another node, the queue is in an overflow state.    
C. When a node is inserted, only the front pointer needs to be adjusted.
D. Queue insertion requires a search algorithm to locate the insertion position within the list.
E. Each node in a queue points to its predecessor.


Answer: B

Computer Science & Information Technology

You might also like to view...

Prove that the SPF strategy is optimal in the sense that it minimizes average response times. [Hint: Consider a list of processes each with an indicated duration. Pick any two processes arbitrarily. Assuming that one is larger than the other, show the effect that placing the smaller process ahead of the longer one has on the waiting time of each process. Draw an appropriate conclusion.]

What will be an ideal response?

Computer Science & Information Technology

XML tags are

a. case insensitive b. case sensitive c. it depends on the tag being used

Computer Science & Information Technology

A primary key could be placed on the Last Name field of a database that marks an extended family tree

Indicate whether the statement is true or false

Computer Science & Information Technology

If a software package is purchased, consider a _____, which offers additional support and assistance from the vendor.?

A. ?fixed fee model B. ?request for proposal C. ?software license D. ?supplemental maintenance agreement

Computer Science & Information Technology