Question

Using the pigeonhole theorem prove that an algorithm cannot losslessly compress any 1024-bit binary string so...

Using the pigeonhole theorem prove that an algorithm cannot losslessly compress any 1024-bit binary string so that it's not more than 1023 bits.

Homework Answers

Answer #1

Let, the 1024-bit binary string be compressed into a binary string of length k.

  • Pigeons are the bits in the original 1024-bit string.
  • i.e there are 1024 pigeons.
  • Holes are the new bits present in the k-bit string.
  • i.e there are k holes.

By Pigeon Hole Principle there exist at least 1 hole containing pigeons.

i.e there there exist at least 1 bit in the k-bit string that represent bits from the original 1024-bit string.

at least ​​​​​​​- 1  bits of memory is destroyed in the process of compression.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1. A string of binary values (bits) is generated randomly such that the probability of any...
1. A string of binary values (bits) is generated randomly such that the probability of any bit being a 1 is 0.15 and the values of any two bits are independent of one another. What is the probability that a randomly chosen 15-bit sub-string contains more than three 1s? 2. Quality control testing on a manufactured shaft indicates that the finished diameter follows a Normal distribution with a mean of 19.96mm and a standard deviation of 0.025mm. If the user’s...
A). Convert following decimal integers to 8-bit two's complement binary numbers using any method . Explain...
A). Convert following decimal integers to 8-bit two's complement binary numbers using any method . Explain why, If decimal number cannot be represented with 8 bits. a. -46 b. -63 c. 118 d. -128 e. 128 B). Perform following operations by converting the decimal numbers to 8-bit two’s complement binary. Check results by converting final result to decimal a. 94-53 b. 15–84
Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional...
Design a 4-bit adder-subtractor circuit using the 4-bit binary Full adders (74LS83) and any necessary additional logic gates. The circuit has a mode input bit, M, that controls its operation. Specifically, when M=0, the circuit becomes a 4-bit adder, and when M=1, the circuit becomes a 4-bit subtractor that performs the operation A plus the 2’s complement of B.Where A and B are two 4-bits binary numbers. That is, * When M=0, we perform A+B, and we assume that both...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT