Exam 11: Trees

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Every 3-ary tree with 13 vertices has leaves.

(Short Answer)
4.8/5
(97)

If T is a full binary tree with 50 leaves, its minimum height is .

(Short Answer)
4.7/5
(87)

Use the merge sort to sort the list 3, 8, 12, 4, 1, 5, 9, 6 in increasing order.

(Short Answer)
4.9/5
(80)

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

(Short Answer)
4.7/5
(80)

Find a spanning tree for the graph K3,4 using a depth-first search. (Assume that the vertices are labeled u1,u2,u3u _ { 1 } , u _ { 2 } , u _ { 3 } in one set and v1,v2,v3,v4v _ { 1 } , v _ { 2 } , v _ { 3 } , v _ { 4 } in the other set, and that alphabetical ordering is used in the search, with numerical ordering on the subscripts used to break ties.)

(Short Answer)
4.8/5
(73)

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

(Short Answer)
4.7/5
(66)

Is the code given by c:00,h:10,d:1101,e:101,z:111 a prefix code? c : 00 , h : 10 , d : 1101 , e : 101 , z : 111 \text { a prefix code? }

(Short Answer)
4.8/5
(78)

Every full binary tree with 45 vertices has internal vertices.

(Short Answer)
4.8/5
(75)

There are full 3-ary trees with 6 vertices.

(Short Answer)
4.8/5
(79)

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)

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 breadth-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 breadth-first search.

(Short Answer)
4.9/5
(77)

Draw all nonisomorphic trees with 5 vertices.

(Short Answer)
4.9/5
(74)

There are non-isomorphic rooted trees with four vertices.

(Short Answer)
4.9/5
(90)

If T is a tree with 999 vertices, then T has edges.

(Short Answer)
4.9/5
(82)

A full 3-ary tree with 13 internal vertices has vertices.

(Short Answer)
4.9/5
(89)

Use the merge sort to sort the list 4,8,6,1,5,7,3,2 in increasing order.

(Short Answer)
4.8/5
(70)

refer to this graph. refer to this graph.   -Using reverse alphabetical ordering, find a spanning tree for the graph by using a breadth-first search. -Using reverse alphabetical ordering, find a spanning tree for the graph by using a breadth-first search.

(Short Answer)
4.9/5
(94)
Showing 81 - 97 of 97
close modal

Filters

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