Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. Binary is nothing but 0 and 1.
  2.  
  3. The binary table always doubles the last digit, starting from 1.
  4.  
  5. 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024. There are 1024 Megabytes in a Gigabyte because of this.
  6.  
  7. Binaries come in batches of 8 knows as Bits, 8 bits make a byte. 1024 bytes make a kilobyte.
  8.  
  9. The table distrebutes as so.
  10.  
  11.  
  12. 128 64 32 16 8 4 2 1
  13. 0 0 0 0 0 0 0 0
  14.  
  15.  
  16.  
  17. 0000 0001 would be 1. 0000 0010 would be 2, 0000 0011 would be 3. You could take any number, then you just subtract the largest number you can from it over and over until you are finished. 186 would then be 1011 1010.
  18.  
  19. 186 minus 128 is 58. so 128 gets a 1. 58 is lower than 64 so that gets a 0, 58 minus 32 is 26, so that gets a 1, 26 minus 16 is 10 so that gets a 1, 10 minus 8 is 2 so that gets a 1, 2 is lower than 4 so that gets a zero, 2 minus 2 is 0 so that gets a 1, then there is nothing left so all remaining digits are automatically 0.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement