How many bits do we need to encode the message (not including the directory)? What is the compression ratio when compared to ASCII rounded to the nearest percent (so if the compression ratio is 49.8% write "50")? Please help me this question.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

How many bits do we need to encode the message (not including the directory)?

What is the compression ratio when compared to ASCII rounded to the nearest percent (so if the compression ratio is 49.8% write "50")?

Please help me this question.

In this problem you will compress the following phrase using LZW
compression with 5 bit wide code words.
"ANNA_ANNA_BO_BANNA_BANANA_FANA_FO_FANNA"
Complete this table (if a cell is empty write "empty"):
Code Symbol Code Symbol Code Symbol Code
Symbol
00000
A
01000
10000
11000
00001
N
01001
10001
11001
00010
01010
10010
11010
00011
B
01011
10011
11011
00100
01100
10100
11100
00101
F
01101
10101
|11101
00110
01110
10110
11110
00111
01111
10111
11111
Transcribed Image Text:In this problem you will compress the following phrase using LZW compression with 5 bit wide code words. "ANNA_ANNA_BO_BANNA_BANANA_FANA_FO_FANNA" Complete this table (if a cell is empty write "empty"): Code Symbol Code Symbol Code Symbol Code Symbol 00000 A 01000 10000 11000 00001 N 01001 10001 11001 00010 01010 10010 11010 00011 B 01011 10011 11011 00100 01100 10100 11100 00101 F 01101 10101 |11101 00110 01110 10110 11110 00111 01111 10111 11111
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY