Zusammenfassung der Ressource
Frage 1
Frage
What is the greedy algorithm(the 3 steps) to create an encoding tree to compress files?
Frage 2
Frage
What is the purpose of a greedy algorithm?
Frage 3
Frage
Sometimes, a greedy algorithm dose not arrive at the optimal solution.
Frage 4
Frage
Dijkstra's Algorithim and Primm's Algorithim are both examples of
which of the following?
Frage 5
Frage
When you choose a path or route that minimizes the cost of the result.
Frage 6
Frage
Huffman codes are primarily used to:
Frage 7
Frage
What are the two major parts of Huffman Coding?
Antworten
-
A. Deconstruct a Huffman tree from input characters and invert the Huffman Tree's codes
-
B. Build a Huffman tree from input characters and traverse the Huffman Tree and assign codes to characters
-
C. Build a Huffman tree from output characters and traverse the Huffman Tree and assign codes to specific lines
-
D. Deconstruct a Huffman tree from input characters and remove the Huffman Tree and assign codes
Frage 8
Frage
When creating a Huffman tree. Which of the following are the three steps needed to remember?
Antworten
-
A.Characters are only stored at the leaves
-
B.Traversing to the left child, appends a 0
-
C.Traversing to the right child, appends a 1
-
D. Only B and C
-
E. A and B and C
Frage 9
Frage
Create a Huffman tree from the given frequency list:
a b c d
20 15 40 23