What are compressed and uncompressed files, how does it all work and why compressed files take less storage?

2.02K views

What are compressed and uncompressed files, how does it all work and why compressed files take less storage?

In: Technology

27 Answers

Anonymous 0 Comments

To a computer,

“word”

Is

120 111 114 100
(http://www.asciitable.com/mobile/)

So, ask yourself if You could write that shorter? Maybe you think, start with 120, subtract 9 for the next one, add 3, and then subtract 14.

120 -9 3 -14

That’s less info than the first way to store “word”.

It gets better if you have to store:

“wordwordwordword”

Because you could just say that you want to reiterate the last 4 letters, 4 times. So you’d get

120 -9 3 -14 4 4

That’s compression. Come up with an idea that uses less bytes, but says the same thing.

You are viewing 1 out of 27 answers, click here to view all answers.