Why are there 1024 bytes in a kilobyte? (instead of 1000)

Here is a good brainteaser when teaching binary code…

Remember: Computers can only work with binary code.

Computers don’t really like the number 1000 because in binary it’s not that straightforward:

binary1000The binary code for 1000 is 1111101000

However computers do like the number 1024 because its binary code is 10000000000.

Binary1024That’s why there are 1024 Bytes in a KB, 1024 KB in a MB and so on…

 

Did you like this challenge?

Click on a star to rate it!

Average rating 3.8 / 5. Vote count: 35

No votes so far! Be the first to rate this post.

As you found this challenge interesting...

Follow us on social media!

Tagged with: ,