Given a text file in which the frequency of each letter is 30 A's 40 E's 20 B's 60 C's 15 D's and 32 spaces a. How many bits are needed to save this file(UNZIP) b. How many bits are needed to save the ZIP file. Show the new binary form of each letter and space

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter13: File Input And Output
Section: Chapter Questions
Problem 20RQ
icon
Related questions
Question
2. Given a text file in which the frequency of each letter is
30 A's 40 E's 20 B's 60 C's 15 D's and 32 spaces
a. How many bits are needed to save this file(UNZIP)
b. How many bits are needed to save the ZIP file. Show the new binary form of each letter and
space
Transcribed Image Text:2. Given a text file in which the frequency of each letter is 30 A's 40 E's 20 B's 60 C's 15 D's and 32 spaces a. How many bits are needed to save this file(UNZIP) b. How many bits are needed to save the ZIP file. Show the new binary form of each letter and space
Expert Solution
steps

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Files and Directory
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT