200 likes | 420 Views
Binary Lesson 7 Review of Binary and Hexadecimal. Four Bits Make a Nybble. 4s. 2s. 1s. 8s. 1 0 0 1 A nybble can be represented by one hexadecimal digit Values from 0 to 15, or 0 to F. Counting to 15. Base Two Base Ten Base Two Base Ten 0 0 1000 8 1 1 1001 9
E N D
Four Bits Make a Nybble 4s 2s 1s 8s 1001 A nybble can be represented by one hexadecimal digit Values from 0 to 15, or 0 to F
Counting to 15 Base Two Base Ten Base Two Base Ten 0 0 1000 8 1 1 1001 9 10 2 1010 10 11 3 1011 11 100 4 1100 12 101 5 1101 13 110 6 1110 14 111 7 1111 15
Eight Bits Make a Byte 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 10011001 So this number is 128 + 16 + 8 + 1 = 153
Two hexadecimal digits make a byte One nybble: 0 through F # of 16s One nybble: 0 through F # of 1s 10011001 So this number is $99 = 9*16 + 9 = 144+9 = 153
What is 12 in hexadecimal? 12 0x12 0x0A 0x0C 0b0110
What is 0b1111 in decimal? 11 13 15 0x0F Something else
What is 0x0A in binary? 10 0b10 0x10 9 Something else
What is 128 in binary? 0b10000000 0b11000000 0b11100000 0b11110000 Something else
What is 192 in binary? 0b10000000 0b11000000 0b11100000 0b11110000 Something else
What is 160 in hex? 0x0A 0x10 0xA0 0xAA Something else
What is 168 in hex? 0x0A 0xA2 0xA8 0xAA Something else
What is 0xFF in binary? 0b11001100 0b11101110 0b11111111 0b10001000 Something else
What is 129 in binary? 0b01111111 0b10000000 0b10000001 0b10000010 Something else
What is 90 in binary? 0b11000000 0b01010000 0b01011000 0b01011010 Something else
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