Exam 11: A: Trees

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

fill in the blanks. -There are ____ non-isomorphic trees with four vertices.

(Short Answer)
4.9/5
(88)

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

(Short Answer)
4.8/5
(83)

Use Huffman coding to encode these symbols with given frequencies: a : 0.15, b : 0.354, c : 0.23, d : 0.22, e : 0.04, f : 0.01. What is the average number of bits required to encode a character?

(Essay)
4.8/5
(76)

fill in the blanks. -The largest number of leaves in a binary tree of height 5 is ____.

(Short Answer)
4.8/5
(86)

Is the following code a prefix code: A: 11, B: 10, C: 0?

(Short Answer)
4.8/5
(81)

fill in the blanks. -If T is a tree, then its vertex-chromatic number is ____ and its region-chromatic number is ____.

(Short Answer)
4.8/5
(88)

refer to the tree refer to the tree   -Find the inorder traversal. -Find the inorder traversal.

(Short Answer)
4.8/5
(87)

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

(Essay)
4.9/5
(81)

fill in the blanks. -If T is a full binary tree with 101 vertices, its minimum height is ____.

(Short Answer)
4.7/5
(72)

The string 2 3 a⋅x+4↑+7↑2\ 3\ a \cdot x + 4 \uparrow + 7 \uparrow is postfix notation for an algebraic expression. Write the expression in prefix notation.

(Short Answer)
4.8/5
(82)

fill in the blanks. -If T is a tree with 999 vertices, then T has ____ edges.

(Short Answer)
4.9/5
(65)

fill in the blanks. -Every full 3-ary tree of height 2 has at least ____ vertices and at most ____ vertices.

(Short Answer)
4.9/5
(73)

fill in the blanks. -There are ____ full binary trees with six vertices.

(Short Answer)
4.7/5
(76)

Is the code given by a : 0, m : 10, s : 110, t : 111 a prefix code?

(Essay)
4.9/5
(82)
Showing 81 - 94 of 94
close modal

Filters

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