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

1. Push and pop are the two most common queue operations.
2. The number of nodes in a binary tree is the number of nodes in its left sub tree plus the number of nodes in its right sub tree.
3. Binary tree are called "trees" because they resemble an upside-down tree.
4. The in order method of traversing a binary tree involves traversing the left sub tree, processing the data in the root, and then traversing the right sub tree.
5. A sub tree is the collection of some node, together with all its descendants.


1. FALSE
2. FALSE
3. TRUE
4. TRUE
5. TRUE

Computer Science & Information Technology

You might also like to view...

What is the value of r after the following statement is coded and executed?

``` Declare Integer i = 12 Declare Real r Set r = toReal(i) ``` a. 12 b. 1.2 c. 12.0 d. 0.12

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 7-1The faculty member whose course you took last semester has to go out of town for one lecture this semester. The lecture she will miss is on behaviors and rich media, and she'd like you to come to the class and deliver a brief course on behaviors. Which of the following is not a tool you will cover as a method of inserting behaviors in Dreamweaver?

A. preset behavior tools B. preset triggers available via the Behaviors panel C. prewritten lists from which you choose event handlers and actions for a behavior D. writing JavaScript code in Code view or in the Script dialog box

Computer Science & Information Technology

Which of the following is a variant of HTML?

A. DML B. BHTML C. XHTML D. TML

Computer Science & Information Technology

Explain the meaning of the term memory disambiguation and write a short fragment of code either in C or as pseudocode that illustrates the problem.

What will be an ideal response?

Computer Science & Information Technology