70 likes | 265 Views
Your ASCII (“Text”) File. What you see:. Aloha. What the computer sees:. 01000001 01101100 01101111 01101000 01100001. binary number columns 128 64 32 16 8 4 2 1. Binary numbers. 0. 1. 10. 01000001011011000110111101101000. binary number columns 1024 512 256 128 64 32 16 8 4 2 1.
E N D
Your ASCII (“Text”) File What you see: Aloha What the computer sees: 0100000101101100 01101111 01101000 01100001 binary number columns 128 64 32 16 8 4 2 1
Binary numbers 0 1 10 01000001011011000110111101101000 binary number columns 1024 512 256 128 64 32 16 8 4 2 1
Your ASCII (“Text”) File What you see: Aloha What the computer sees: 0100000101101100 01101111 01101000 01100001 binary number columns 128 64 32 16 8 4 2 1
Bits and Bytes Single digit = 1 bit (Binary digIT ) 01000001
Bits and Bytes 01000001 entire 8 digits = 1 byte
ASCII Codes A B C a b c 1 2 3 ! (CR) (LF) 128 characters A (Bell) 7 bits per byte “Ding!” What about é or ñ? 8 bits per byte
Your ASCII (“Text”) File What you see: Aloha w o r l d ! space What the computer sees: 0100000101101100 01101111 01101000 01100001 00100000 01110111 01101111 01110010 01101100 01100100 00100001 ASCII code 104 for h (8-bit byte) binary number columns 128 64 32 16 8 4 2 1