Exam 11: A: Trees
Exam 1: The Foundations: Logic and Proofs18 Questions
Exam 1: A: the Foundations: Logic and Proofs201 Questions
Exam 2: Basic Structures: Sets, Functions, Sequences, Sums, Matrices5 Questions
Exam 2: A: Basic Structures: Sets, Functions, Sequences, Sums, Matrices210 Questions
Exam 3: Algorithms8 Questions
Exam 3: A: Algorithms54 Questions
Exam 4: Number Theory and Cryptography10 Questions
Exam 4: A: Number Theory and Cryptography149 Questions
Exam 5: Induction and Recursion10 Questions
Exam 5: A: Induction and Recursion51 Questions
Exam 6: Counting14 Questions
Exam 6: A: Counting155 Questions
Exam 7: Discrete Probability9 Questions
Exam 7: A: Discrete Probability50 Questions
Exam 8: Advanced Counting Techniques16 Questions
Exam 8: A: Advanced Counting Techniques124 Questions
Exam 9: Relations13 Questions
Exam 9: A: Relations72 Questions
Exam 10: Graphs14 Questions
Exam 10: A: Graphs131 Questions
Exam 11: Trees13 Questions
Exam 11: A: Trees94 Questions
Exam 12: Boolean Algebra11 Questions
Exam 12: A: Boolean Algebra67 Questions
Exam 13: Modeling Computation14 Questions
Exam 13: A: Modeling Computation67 Questions
Exam 14: Mathematics Problem Set: Set Theory, Number Theory, Combinatorics, and Boolean Algebra29 Questions
Select questions type
If T is a tree with 17 vertices, then there is a simple path in T of length 17.
(True/False)
4.7/5
(71)
fill in the blanks.
-If T is a binary tree with 100 vertices, its minimum height is ____.
(Short Answer)
4.8/5
(80)
fill in the blanks.
-If T is a full binary tree of height h, then the minimum number of leaves in T is and the maximum number of leaves in T is ____.
(Short Answer)
4.8/5
(82)
Use the bubble sort to sort the list 5, 4, 3, 2, 1 in increasing order.
(Essay)
4.9/5
(82)
fill in the blanks.
-If T is a full binary tree with 50 internal vertices, then T has ____ vertices.
(Short Answer)
4.8/5
(73)
Is the code given by c : 00, h : 10, d : 1101, e : 101, z : 111 a prefix code?
(Essay)
4.9/5
(75)
refer to this graph.
-Using reverse alphabetical ordering, find a spanning tree for the graph by using a breadth-first search.
(Essay)
4.8/5
(78)
In a binary tree with 16 vertices, there must be a path of length 4.
(True/False)
5.0/5
(85)
The string is prefix notation for an algebraic expression. Write the expression in infix notation.
(Essay)
4.8/5
(84)
refer to this graph.
-Using reverse alphabetical ordering, find a spanning tree for the graph by using a depth-first search.
(Essay)
4.8/5
(74)
fill in the blanks.
-Every full binary tree with 50 leaves has ____ vertices.
(Short Answer)
4.9/5
(81)
Suppose T is a full m-ary tree with l leaves. Prove that T has (l − 1)/(m − 1) internal vertices.
(Essay)
4.7/5
(76)
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.
(Essay)
4.9/5
(76)
Use Huffman coding to encode these symbols with given frequencies: a : 0.35, b : 0.4, c : 0.2, d : 0.05. What is the average number of bits required to encode a character?
(Essay)
4.8/5
(79)
Suppose you have 5 coins, one of which is heavier than the other four. Draw the decision tree for using a pan balance scale to find the heavy coin.
(Essay)
5.0/5
(85)
fill in the blanks.
-Every 3-ary tree with 13 vertices has ____ leaves.
(Short Answer)
4.8/5
(58)
refer to this graph.
-Using alphabetical ordering, find a spanning tree for this graph by using a depth-first search.
(Essay)
4.9/5
(71)
Prove that if T is a full m-ary tree with l leaves, then T has (ml − 1)/(m − 1) vertices.
(Essay)
4.8/5
(87)
Showing 41 - 60 of 94
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)