+ 1
Why 1 kbyte is not 1000 bytes?
Who knows physics, knows that the multiplier k in front of a unit of measure multiplies the unit by a thousand. So 1 kbyte = 1000 bytes. Why is not it in computer memory?
8 Respostas
+ 12
this is because computer memory is based on a binary system,so the value of any memory is always a power of 2.
2 raised to the power of 10 is 1024
thus ,there are 1024 bytes in a kilobyte
+ 6
Note new binary prefix rules -- December 1998 - e.g., KiB vs KB
"2^10 = 1024 bytes. Although the term kilobyte is sometimes used to refer to 1024 bytes, such usage is deprecated in favor of the standard SI naming convention of 1 kilobyte being equal to 10^3 bytes"
http://mathworld.wolfram.com/Kibibyte.html
NIST: Includes a table of all the prefixes
https://physics.nist.gov/cuu/Units/binary.html
Due to uneven adoption, you will occasionally see manufacturers list (e.g.) "500 GiB" on their marketing materials, other times "500 GB".
Linux releases also indicate them somewhat inconsistently, e.g. Debian:
https://wiki.debian.org/ConsistentUnitPrefixes
+ 3
Cause when you are talking about computers, they are made up of bits(0's and 1's) and 1028 is a power of 2, so its easier to represent as bits(1000000000 in binary, or 2^10), so i think they chose 1024 because of these things over 1000.
note: 1000 = 111110100 in binary
+ 1
Then I think this is only a convenient convention used to describe a memory quantity
0
So, k in front of mem unit is no strictly correct because 1kw = 1000 watts
0
you just have to remember that k in front of something means something different on memory units
0
It should be 1.024kbyte.
0
2^10 is 1024 bytes. Every value of a memory is to the power of 2.