Question
1-If we were able to reduce the storage space of an image to 3 megabits from its original size of 9.6 megabits, what would the
1-If we were able to reduce the storage space of an image to 3 megabits from its original size of 9.6 megabits, what would the compression ratio be?
2-How much space is saved by representing the Hawaiian word ALOHA in the variable-length code. What is the compression ratio?
Using variable-length code sets
a- fixed length
b- variable length
Letter | 4-Bit Encoding | Variable-Length Encoding |
---|---|---|
A | 0000 | 00 |
I | 0001 | 10 |
H | 0010 | 010 |
W | 0011 | 110 |
E | 0100 | 0110 |
O | 0101 | 0111 |
M | 0110 | 11100 |
K | 0111 | 11101 |
U | 1000 | 11110 |
N | 1001 | 111110 |
P | 1010 | 1111110 |
L | 1011 | 1111111 |
(a) | (b) |
3- Assume your smartphone has 16 GB available for music storage. If the average song is 3 minutes long, and it has been recorded using a sampling rate of 44,100 samples per second, a bit depth of 16 bits, and a compression ratio of 10:1, approximately how many songs can be stored on your phone?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started