Which of the following is not a step in queue deletion?

A. Search queue for data to be deleted. 
B. Pass data from deleted node back to calling function.
C. Set front pointer to next item in queue.
D. Subtract one from queue counter if implemented.
E. If queue empty, set rear pointer to null.


Answer: A

Computer Science & Information Technology

You might also like to view...

Which statement is true?

a. Dividing two integers results in integer division. b. With integer division, any fractional part of the calculation is lost. c. With integer division, any fractional part of the calculation is truncated. d. All of the above.

Computer Science & Information Technology

The instruction "If it is raining outside, then take an umbrella" is an example of the ____ structure.

A. control B. repetition C. selection D. sequence

Computer Science & Information Technology

The throw of the dice or the drawing of a card, if looked at programmatically, may be considered a __________.

A. stochastic component B. static component C. deterministic component D. conventional component

Computer Science & Information Technology

A Windows command switch is expressed by using which character?

A. - B. : C. \ D. /

Computer Science & Information Technology