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

1) In a tree, a node that does not have any children is called a leaf.
2) The height of a tree and the depth of a tree are different.
3) A binary tree is a tree in which any node can have at most two children.
4) Since trees are nonlinear structures, it is impossible to implement them using an array.
5) The methods in the Binary Tree ADT all return references to elements.


1) T
2) F
3) T
4) F
5) F

Computer Science & Information Technology

You might also like to view...

The functions of the character-handling library typically manipulate characters as:

a. ints b. floats c. longs d. chars

Computer Science & Information Technology

________ opens the database so that changes can be made, but no one else may open the database at the same time

A) Open Exclusive Read-Only B) Open Exclusive C) Open Read-Only D) Read-Only Exclusive Open

Computer Science & Information Technology

Explain what the Expression builder is, and how it is used

What will be an ideal response?

Computer Science & Information Technology

A field that is being removed from the PivotTable report is indicated by a(n) ________

A) delete button B) gray area C) no symbol D) X

Computer Science & Information Technology