bit and Byte and ASCII codes >

what is bit and byte in terms of memory ?

  1. a bit is basically a binary digit , it can hold 1 or 0 only .
  2. this is smallest increment of data on a computer 0 means off and 1 means on.
  3. A byte is group of 8 bits , in a single byte we can store any ASCII character ,
  4. 1KB is 1024 Bytes
  5. 1 Mb -> 1024 KB
  6. 1 GB - > 1024 MB
  7. 1 TB -> 1024 GB
  8. 1 Petabyte -> 1024 TB
  1. ASCII : what is ascii character
    1. ASCII acroynm : American Standard Code for Information Interchange
    2. since microprosessors only understand bits and bytes so what ever we wants to send to the processor needs to be converted to bits
    3. so in ASCII all the letters are assigned one numbers lets say A is 65 and a is 97
    4. Each Character and symbol has assigned a number from 0 to 255 , and since 2 power 8 means 256 will be able to store all the values
    5. Ex : cactus.io as ascii it would translate to 99 97 99 116 117 115 46 105 111