Which of the following is in order processing for a binary tree?

a)
i) process the right subtree
ii) process the root node data
iii) process the left subtree
b)
i) process the left subtree
ii) process the root node data
iii) process the right subtree
c)
i) process the root node data
ii) process the left subtree
iii) process the right subtree
d)
i) process the left subtree
ii) process the right subtree
iii) process the root node
e)
i) process the right subtree
ii) process the left subtree
iii) process the root node


b)
i) process the left subtree
ii) process the root node data
iii) process the right subtree

Part c) is pre order. Part d) is post order.

Computer Science & Information Technology

You might also like to view...

What value is produced when Python evaluates the following expression?

5 * (12.7 - 4) / 2
a. 21 b. 21.75 c. 29.5 d. None of the above.

Computer Science & Information Technology

Draw a flowchart for the program fragments (no need to show start and stop).

LET sum = 0 LET n = 0

Computer Science & Information Technology

Hold down the ________ key to select nonadjacent cells

A) Alt B) Spacebar C) Ctrl D) F2

Computer Science & Information Technology

Access keys are not case sensitive.

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

Computer Science & Information Technology