The Essentials of Computer Organization and Architecture
The Essentials of Computer Organization and Architecture
4th Edition
ISBN: 9781284045611
Author: Linda Null, Julia Lobur
Publisher: Jones & Bartlett Learning
Expert Solution & Answer
Book Icon
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.
LetterCount
A4
B1
E4
F1
G6
H10
I16
L1
M2
N2
O2
R5
S9
T13
W4
Y1
<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...

Blurred answer
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 - 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
Background pattern image
Recommended textbooks for you
Text book image
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Text book image
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Text book image
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
Text book image
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Text book image
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Text book image
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education