
The Essentials of Computer Organization and Architecture
4th Edition
ISBN: 9781284045611
Author: Linda Null, Julia Lobur
Publisher: Jones & Bartlett Learning
expand_more
expand_more
format_list_bulleted
Expert Solution & Answer
Chapter 7.7A, Problem 6E
Explanation of Solution
Explanation:
- Huffman coding is a data compression method.
- The probability of each symbol present in the message is calculated to create the Huffman code.
- The probabilities of the symbols are used for creating a binary tree which in turn used to assign the code words.
- The tree traversal assigns bit pattern assignments for each symbol present in the message.
- The star bright rhyme is as follows,
STAR LIGHT STAR BRIGHT
FIRST STAR I SEE TONIGHT
I WISH I MAY I WISH I MIGHT
GET THE WISH I WISH TONIGHT
- The code for the above rhyme and Huffman tree is created as follows,
- Replace the space and new line characters with <ws> and tabulate all the occurrences of the letters present in the rhyme.
Letter | Count |
A | 4 |
B | 1 |
E | 4 |
F | 1 |
G | 6 |
H | 10 |
I | 16 |
L | 1 |
M | 2 |
N | 2 |
O | 2 |
R | 5 |
S | 9 |
T | 13 |
W | 4 |
Y | 1 |
<ws> | 22 |
- In the following tree diagram, the nodes represent all the letters and their respective frequencies and they are represented in the increasing order.
- In the following tree diagram, nodes with smallest frequencies are joined to create the binary tree. Here, B and F are aggregated together that includes smallest frequency of 1 and similarly, L and Y are also aggregated...
Expert Solution & Answer

Want to see the full answer?
Check out a sample textbook solution
Students have asked these similar questions
Design and draw a high-level "as-is" process diagram that illustrates a current process related to a product or service offered through the SSDCI.gov database.
Compare last-mile connections for connecting homes and businesses to the Internet
Explain wireless networking standards
Chapter 7 Solutions
The Essentials of Computer Organization and Architecture
Ch. 7.7A - Prob. 1ECh. 7.7A - Prob. 2ECh. 7.7A - Prob. 3ECh. 7.7A - Prob. 5ECh. 7.7A - Prob. 6ECh. 7.7A - Prob. 8ECh. 7.7A - Prob. 9ECh. 7.7A - Prob. 10ECh. 7 - Prob. 1RETCCh. 7 - Prob. 2RETC
Ch. 7 - Prob. 3RETCCh. 7 - Prob. 4RETCCh. 7 - Prob. 5RETCCh. 7 - Prob. 6RETCCh. 7 - Prob. 7RETCCh. 7 - Prob. 8RETCCh. 7 - Prob. 9RETCCh. 7 - Prob. 10RETCCh. 7 - Prob. 11RETCCh. 7 - Prob. 12RETCCh. 7 - Prob. 13RETCCh. 7 - Prob. 14RETCCh. 7 - Prob. 15RETCCh. 7 - Prob. 16RETCCh. 7 - Prob. 17RETCCh. 7 - Prob. 18RETCCh. 7 - Prob. 19RETCCh. 7 - Prob. 20RETCCh. 7 - Prob. 21RETCCh. 7 - Prob. 22RETCCh. 7 - Prob. 23RETCCh. 7 - Prob. 24RETCCh. 7 - Prob. 25RETCCh. 7 - Prob. 26RETCCh. 7 - Prob. 27RETCCh. 7 - Prob. 28RETCCh. 7 - Prob. 29RETCCh. 7 - Prob. 30RETCCh. 7 - Prob. 31RETCCh. 7 - Prob. 32RETCCh. 7 - Prob. 33RETCCh. 7 - Prob. 34RETCCh. 7 - Prob. 35RETCCh. 7 - Prob. 36RETCCh. 7 - Prob. 37RETCCh. 7 - Prob. 38RETCCh. 7 - Prob. 39RETCCh. 7 - Prob. 40RETCCh. 7 - Prob. 41RETCCh. 7 - Prob. 42RETCCh. 7 - Prob. 43RETCCh. 7 - Prob. 44RETCCh. 7 - Prob. 45RETCCh. 7 - Prob. 46RETCCh. 7 - Prob. 47RETCCh. 7 - Prob. 48RETCCh. 7 - Prob. 49RETCCh. 7 - Prob. 1ECh. 7 - Prob. 2ECh. 7 - Prob. 3ECh. 7 - Prob. 4ECh. 7 - Prob. 5ECh. 7 - Prob. 6ECh. 7 - Prob. 7ECh. 7 - Prob. 8ECh. 7 - Prob. 9ECh. 7 - Prob. 10ECh. 7 - Prob. 11ECh. 7 - Prob. 12ECh. 7 - Prob. 13ECh. 7 - Prob. 14ECh. 7 - Prob. 15ECh. 7 - Prob. 16ECh. 7 - Prob. 17ECh. 7 - Prob. 18ECh. 7 - Prob. 19ECh. 7 - Prob. 20ECh. 7 - Prob. 21ECh. 7 - Prob. 22ECh. 7 - Prob. 23ECh. 7 - Prob. 24ECh. 7 - Prob. 25ECh. 7 - Prob. 26ECh. 7 - Prob. 27ECh. 7 - Prob. 28ECh. 7 - Prob. 29ECh. 7 - Prob. 30ECh. 7 - Prob. 31ECh. 7 - Prob. 32ECh. 7 - Prob. 33ECh. 7 - Prob. 34ECh. 7 - Prob. 35ECh. 7 - Prob. 36ECh. 7 - Prob. 37ECh. 7 - Prob. 38ECh. 7 - Prob. 39ECh. 7 - Prob. 40ECh. 7 - Prob. 41ECh. 7 - Prob. 42ECh. 7 - Prob. 43ECh. 7 - Prob. 44ECh. 7 - Prob. 45ECh. 7 - Prob. 46ECh. 7 - Prob. 47ECh. 7 - Prob. 48ECh. 7 - Prob. 49E
Knowledge Booster
Similar questions
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education

Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education

Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON

Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON

C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON

Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning

Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education