Binary Lesson 3 Hexadecimal
Counting to 15 Base Base Base 16 Base Base Base 16 Two Ten (Hex) Two Ten (Hex) 0 0 0 1000 8 8 1 1 1 1001 9 9 10 2 2 1010 10 A 11 3 3 1011 11 B 100 4 4 1100 12 C 101 5 5 1101 13 D 110 6 6 1110 14 E 111 7 7 1111 15 F 2
1 0 0 1 Four Bits Make a Nybble 8s 4s 2s 1s A nybble can be represented by one hexadecimal digit Values from 0 to 15, or 0 to F 8s 4s 2s 1s
1 0 0 1 1 0 0 1 Eight Bits Make a Byte 8s 8s 8s 8s 4s 4s 4s 4s 2s 2s 1 0 0 1 1 0 0 1 So this number is 128 + 16 + 8 + 1 = 153 128s 64s 64s 32s 32s 32s 16s 16s 16s 8s 8s 8s 8s 4s 4s 4s 4s 2s 2s 2s 1s 1s One nybble: 0 through F One nybble: 0 through F
Two hexadecimal digits make a byte 1 0 0 1 1 0 0 1 So this number is $99 = 9*16 + 9 = 144+9 = 153 One nybble: 0 through F # of 16s One nybble: 0 through F # of 1s
Binary iClicker Questions
What is 6 in hexadecimal? $0A $06 $60 $66 $A6 1 of 6
What is $15 in decimal? 9 15 20 21 31 2 of 6
What is 32 in hexadecimal? $32 $20 $10 $24 $30 3 of 6
What is 63 in hexadecimal? $63 $60 $40 $3F $39 4 of 6
What is $F0 in decimal? 15 150 255 240 224 5 of 6
What is $80 in decimal? 80 100 128 192 224 6 of 6