(RETURN-TO-WHERE) Curtis Dyreson's home page
Dept. of Computer Science (QUESTIONS) (QUESTIONSET) (T) A leaf has no children. (F) A leaf has children. (QUESTIONSET) (MC) What is the level of node 3 in the following tree?
     8 
    / \
   4   9
  / \   \
 3   5   7
    / \
   1   2
(w) 0 (w) 1 (r) 2 (w) 3 (w) none of the above (h) The level is the distance from the root. (e) The level is the distance from the root. To get to node 3 from the root, node 8, you use two edges. (QUESTIONSET) (MM) Choose all the leaf nodes in the following tree?
 8 
  \
   4
  / \
 3   5
    / \
   1   2
(r) 1 (r) 2 (r) 3 (w) 4 (w) 5 (w) 8 (h) Leaf nodes are those with no children. (e) Leaf nodes are those with no children. Nodes 1, 2, and 3 have no children. (QUESTIONSET) (EA) What is my favourite flavour of ice cream? (r) passion fruit (r) Passion fruit (h) It is native to tropical North Queensland. (e) The Frosty Mango just south of Ingham has great passion fruit ice cream.