Binary Lesson 7 Review of Binary and Hexadecimal
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
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 3
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
Review of Binary and Hexadecimal iClicker Questions
What is 63 in hex? 0x30 0x39 0x3F 0x41 Something else
What is 201 in hex? 0xA1 0xC1 0xC9 0xCF Something else
What is 0xF1 in binary? 0b11111111 0b11101110 0b11110011 0b11110001 Something else
What is 0xCD in decimal? 192 200 206 208 Something else