Professional Documents
Culture Documents
Bits, Bytes, Kilobytes, Megabytes, Gigabytes & Terabytes
Bits, Bytes, Kilobytes, Megabytes, Gigabytes & Terabytes
= 32 + 0 + 8 + 4 + 0 + 1
= 45 (in base 10)
1101 =?
One character is represented
using one byte (8 bits)
ASCII
American Standard Code for Information
Interchange
The ASCII character code for the letter A is
65 = 0100 0001
The ASCII character code for the letter B is
66 = 0100 0010
etc.
ASCII (continued)
The ASCII character code for a space
(pressing the space bar) is
32 = 0010 0000
The ASCII character code for the letter a is
97 = 0110 0001
The ASCII character code for the letter b is
98 = 0110 0010
etc.
Base 16
Base two - digits run from 0 to 1
Base ten - digits run from 0 to 9
Base sixteen - digits run from 0 to 15
D 8 = D*16 1 + 8*16 0
= 13*16 1 + 8*16 0 = 216
3 E = 3*16 1 + E*16 0
= 3*16 1 + 14*16 0 = 62
Decimal to Hexadecimal
16 1 16 0
16 1
7 D
Decimal to Hexadecimal
11
16*11 = 176 and 191-176 = 15.
16 191
16 1 16 0
16 1
B F