RAVINDRA'S BLOG

Thursday, 25 January 2018

Bit vs Byte

Bits:

  • Bit is a smallest unit of data.
  • It has two values ''0" or "1".
  • Bit values representation in other forms:
    • "True" or  "False" (Logical  Values)
    • "+" or  "-" (Algebraic Sign)
    • "On" or "Off" (Activation State)
  • Symbol of bits is "b". (Example : Mbps (Mega Bits Per Second))

Bytes:

  • Byte is a storage value unit.
  • It is the combination of  8 bits.
  • Symbol of byte is "B". (Example : MBps (Mega Bytes Per Second)).
  • In below figure, 1 Byte with bit representation is shown.
  • Next stage units of bytes is:
    • Kilobytes.
    • Megabytes.
    • Gigabytes.
    • Terabytes.
    • Petabytes.
  • Next units of bytes are powers of 2. (i.e: 1 byte = 1024 KB = 2^10).

Implementation of "i" in KB:

  • Storage Device manufacturers and internet providers started using bytes in powers of 10. 
  • They started measuring as 1 KB = 1000 Bytes.
  • When we connect storage device it shows less memory (example 16GB as 14.9GB).
  • In order to avoid this confusion implemented "i"
  • Names of Bytes are :
    • Kibibytes
    • Mebibytes
    • Gibibytes
    • Tebibytes
    • Pebibytes.
  •  This values are fixed for powers of 2.
Below is the table shows the byte values of next higher.