Exam 11: Trees
Exam 1: The Foundations: Logic and Proofs200 Questions
Exam 2: Basic Structures: Sets, Functions, Sequences, Sums, Matrices214 Questions
Exam 3: Algorithms52 Questions
Exam 4: Number Theory and Cryptography154 Questions
Exam 5: Induction and Recursion53 Questions
Exam 6: Counting156 Questions
Exam 7: Discrete Probability53 Questions
Exam 8: Advanced Counting Techniques128 Questions
Exam 9: Relations74 Questions
Exam 10: Graphs127 Questions
Exam 11: Trees97 Questions
Exam 12: Boolean Algebra77 Questions
Exam 13: Modeling Computation71 Questions
Select questions type
refer to this graph.
-Using alphabetical ordering, find a spanning tree for this graph by using a depth-first search.
(Short Answer)
4.8/5
(79)
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.
(Short Answer)
4.7/5
(74)
mark the statement TRUE or FALSE.
-If two trees have the same number of vertices and the same degrees, then the two trees are isomorphic.
(True/False)
4.8/5
(82)
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 breadth-first
search.
(Short Answer)
4.8/5
(70)
mark the statement TRUE or FALSE.
-If T is a rooted binary tree of height 5, then T has at most 25 leaves.
(True/False)
4.9/5
(100)
Use Huffman coding to encode these symbols with given frequencies: a: 0.15, b: 0.35, c: 0.23, d: 0.22, e: 0.04, f: 0.01 . What is the average number of bits required to encode a character?
(Short Answer)
4.9/5
(78)
The value of the arithmetic expression whose prefix representation is
(Short Answer)
4.8/5
(89)
The string is postfix notation for an algebraic expression. Write the expression in infix
notation.
(Short Answer)
4.9/5
(64)
The largest number of leaves in a binary tree of height 5 is .
(Short Answer)
4.9/5
(84)
The string is prefix notation for an algebraic expression. Write the expression in infix
notation.
(Short Answer)
4.9/5
(89)
refer to this graph.
-Using reverse alphabetical ordering, find a spanning tree for the graph by using a depth-first search.
(Short Answer)
4.8/5
(80)
The string is postfix notation for a logic expression; however, there is a misprint. The
triangle should be one of these three: Determine which of these three it must be and explain your
reasoning.
(Short Answer)
4.8/5
(70)
refer to this graph.
-Using reverse alphabetical ordering, find a spanning tree for the graph by using a depth-first search.
(Short Answer)
4.8/5
(89)
Showing 61 - 80 of 97
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)