Identical Compression

Both Alice and Bob are told to write an essay on "Compression" and send the zipped file of their essay to the teacher. It is known that they use the same compression algorithm to zip their file.

When the teacher receives the file, she noticed that the data of both zipped file is exactly the same, hence she claims that the two essays are identical.

Is she correct?

Yes No

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Christopher Boo
Aug 15, 2016

The teacher is correct.

It is given that they use the same compression algorithm. Hence they must be using the same algorithm to decompress the file. Since the algorithm must be non-probabilistic, every input the algorithm takes in should always produce the same output. This can lead us to the conclusion that after the decompression, the teacher will find two identical essays.

byte is same as each other,but content could be differ, for example: earth and early

丁大喵 by丁丁猫 - 2 years, 2 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...