Exam 11: Trees

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

If T is a binary tree with 100 vertices, its minimum height is .

(Short Answer)
4.8/5
(82)

(a) Set up a binary tree for the following list, in the given order, using alphabetical ordering: SHE, SELLS, SEA, SHELLS, BY, THE, SEASHORE. (b) How many comparisons with words in the tree are needed to determine if the word SHARK is in the tree? (c) How many comparisons with words in the tree are needed to determine if the word SEAWEED is in the tree? (d) How many comparisons with words in the tree are needed to determine if the word SHELLS is in the tree?

(Short Answer)
4.9/5
(73)

Suppose that the universal address set address of a vertex v in an ordered rooted tree is 3.2.5.1.5. Find (a) the level of v. (b) the minimum number of siblings of v. (c) the address of the parent of v. (d) the minimum number of vertices in the tree.

(Short Answer)
4.8/5
(88)

If T is a tree, then its vertex-chromatic number is and its region-chromatic number is .

(Short Answer)
4.9/5
(78)

Prove that if T is a full m-ary tree with v vertices, then T has ((m − 1)v + 1)/m leaves.

(Short Answer)
4.9/5
(74)

If T is a full binary tree with 50 internal vertices, then T has vertices.

(Short Answer)
4.7/5
(87)

Find the preorder traversal of the parsing tree for (8x−y)5−74z−3( 8 x - y ) ^ { 5 } - 7 \sqrt { 4 z - 3 }

(Short Answer)
4.9/5
(77)

Suppose you have 50 coins, one of which is counterfeit (either heavier or lighter than the others). You use a pan balance scale to find the bad coin. Prove that 4 weighings are not enough to guarantee that you find the bad coin and determine whether it is heavier or lighter than the other coins.

(Short Answer)
4.9/5
(61)

Write 3n−(k+5)3 n - ( k + 5 ) in prefix notation:  Write  3 n - ( k + 5 )  in prefix notation:

(Short Answer)
5.0/5
(73)

refer to this graph. refer to this graph.   -Using the ordering C, D, E, F, G, H, I, J, A, B, C, find a spanning tree for this graph by using a depth-first search. -Using the ordering C, D, E, F, G, H, I, J, A, B, C, find a spanning tree for this graph by using a depth-first search.

(Short Answer)
4.8/5
(75)

Find the postorder traversal of the parsing tree for (8x−y)5−74z−3( 8 x - y ) ^ { 5 } - 7 \sqrt { 4 z - 3 }

(Short Answer)
4.9/5
(85)

mark the statement TRUE or FALSE. -There is a tree with degrees 3, 2, 2, 2, 1, 1, 1, 1, 1.

(True/False)
4.9/5
(76)

Write the compound proposition (¬p)→(q∨(r∧¬s)) in postfix notation. ( \neg p ) \rightarrow ( q \vee ( r \wedge \neg s ) ) \text { in postfix notation. }

(Short Answer)
4.8/5
(71)

mark the statement TRUE or FALSE. -Every tree is bipartite.

(True/False)
4.9/5
(61)

mark the statement TRUE or FALSE. -If T is a tree with 50 vertices, the largest degree that any vertex can have is 49.

(True/False)
4.7/5
(66)

refer to this graph. refer to this graph.   -Using the ordering B, G, J, A, C, I, F, H, D, E, find a spanning tree for this graph by using a depth-first search. -Using the ordering B, G, J, A, C, I, F, H, D, E, find a spanning tree for this graph by using a depth-first search.

(Short Answer)
4.9/5
(77)

Find a spanning tree of minimum cost for this graph. Find a spanning tree of minimum cost for this graph.

(Short Answer)
4.9/5
(79)

mark the statement TRUE or FALSE. -There is a tree with degrees 3, 3, 2, 2, 1, 1, 1, 1.

(True/False)
4.8/5
(69)

Use the bubble sort to sort the list 5,2,3,1,4 in increasing order.

(Essay)
4.9/5
(75)

There are non-isomorphic trees with four vertices.

(Short Answer)
4.8/5
(68)
Showing 41 - 60 of 97
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)