Consider the operation of deleting the root of a binary search tree. If the root is a leaf, then

A) the method doing the deletion should throw an exception
B) the root should be replaced with a dummy place-holder node
C) the reference to the root of the tree should be set to null
D) the element stored in the root node should be replaced with null, or with 0.


C) the reference to the root of the tree should be set to null

Computer Science & Information Technology

You might also like to view...

Which partition type is installed as part of the Linux boot sector?

A. Primary B. Extended C. Logical D. Cache

Computer Science & Information Technology

Which of the following is FALSE about page breaks?

A) When inserting a manual page break, the new page always starts with single spacing and no indents. B) When inserting a manual page break, the new page retains the formatting of the previous. C) A manual page break forces a page to end at the insertion point location. D) A page break indicator shows where a manual page break was inserted.

Computer Science & Information Technology

When you click in each cell in the Total row, a(n) ____ appears that you can click to open a list of the most commonly used functions.

A. menu B. arrow C. button D. status bar

Computer Science & Information Technology

Adobe System's ColdFusion uses its proprietary tags, which are written in which of the following languages?

A. XML B. DHTML C. PHP D. CFML

Computer Science & Information Technology