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

1. A binary tree cannot be empty.
2. A tree whose height is h has its root at level h.
3. An inorder traversal visits a node before it traverses either of the node’s subtrees.
4. A complete binary tree with n nodes has a height of log2(n + 1

1. False
2. False
3. False
4. True

Computer Science & Information Technology

You might also like to view...

Use the commands on the ________ tab to define the main document and data source that will be used to create a letter for a mail merge

Fill in the blank(s) with correct word

Computer Science & Information Technology

The advantages of using a ____ are that you can have an object move along any path, including a path that intersects itself, and you can easily change the shape of the path, allowing you to experiment with different motions.

A. motion guide B. keyframe C. bitmap D. playhead

Computer Science & Information Technology