Download presentation

Presentation is loading. Please wait.

Published byErick Hamley Modified over 2 years ago

1
Binary Lesson 7 Review of Binary and Hexadecimal

2
Four Bits Make a Nybble 1 0 0 1 A nybble can be represented by one hexadecimal digit Values from 0 to 15, or 0 to F 8s 4s2s1s

3
Counting to 15 Base Two Base TenBase Two Base Ten Base Two Base TenBase Two Base Ten 0 0 1000 8 0 0 1000 8 1 1 1001 9 1 1 1001 9 10 2 1010 10 10 2 1010 10 11 3 1011 11 11 3 1011 11 100 4 1100 12 100 4 1100 12 101 5 1101 13 101 5 1101 13 110 6 1110 14 110 6 1110 14 111 7 1111 15 111 7 1111 15

4
Eight Bits Make a Byte 1 0 0 1 1 0 0 1 So this number is 128 + 16 + 8 + 1 = 153 8s4s2s1s8s4s2s8s4s1s2s8s4s 16s32s 128s 64s16s32s64s16s32s One nybble: 0 through F One nybble: 0 through F

5
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

6
Review of Binary and Hexadecimal iClicker Questions

7
What is 12 in hexadecimal? A.12 B.0x12 C.0x0A D.0x0C E.0b0110

8
What is 0b1111 in decimal? A.11 B.13 C.15 D.0x0F E.Something else

9
What is 0x0A in binary? A.10 B.0b10 C.0x10 D.9 E.Something else

10
What is 128 in binary? A.0b10000000 B.0b11000000 C.0b11100000 D.0b11110000 E.Something else

11
What is 192 in binary? A.0b10000000 B.0b11000000 C.0b11100000 D.0b11110000 E.Something else

12
What is 160 in hex? A.0x0A B.0x10 C.0xA0 D.0xAA E.Something else

13
What is 168 in hex? A.0x0A B.0xA2 C.0xA8 D.0xAA E.Something else

14
What is 0xFF in binary? A.0b11001100 B.0b11101110 C.0b11111111 D.0b10001000 E.Something else

15
What is 129 in binary? A.0b01111111 B.0b10000000 C.0b10000001 D.0b10000010 E.Something else

16
What is 90 in binary? A.0b11000000 B.0b01010000 C.0b01011000 D.0b01011010 E.Something else

17
What is 63 in hex? A.0x30 B.0x39 C.0x3F D.0x41 E.Something else

18
What is 201 in hex? A.0xA1 B.0xC1 C.0xC9 D.0xCF E.Something else

19
What is 0xF1 in binary? A.0b11111111 B.0b11101110 C.0b11110011 D.0b11110001 E.Something else

20
What is 0xCD in decimal? A.192 B.200 C.206 D.208 E.Something else

Similar presentations

© 2017 SlidePlayer.com Inc.

All rights reserved.

Ads by Google