+ 2
Different between byte And bits?
3 Réponses
+ 8
A byte is the smallest addressable unit of memory, and is composed of 8 bits.
A bit can only take on two values-- 0, or 1, whereas an unsigned byte can span from 0 (0000 0000) to 255 (1111 1111). This is the greatest range you can represent with 8 bits.
Edit: @Krishna While we're on the topic of larger units of memory, a kilobyte is actually 1000 bytes, a megabyte is 1000 kilobytes, and so on. You're probably thinking of kibibytes and mebibytes, which are 1024 bytes and 1024 kilobytes respectively.
+ 5
Bit - Either 0 or 1
Byte - 8 bits
Kilo Byte - 1024 bytes
Mega Byte - 1024 kilo bytes
Giga Byte - 1024 mega bytes
+ 1
Thank you Squidy