Presentation is loading. Please wait.

Presentation is loading. Please wait.

DECIMALBINARY a) 203 10 b) 01001110 2 c) d) 11010000 2 e) f) 75 10 Revision Exercise DECIMALBINARY a) 203 10 11001011 2 b) 78 10 01001110 2 c) 249 10 11111001.

Similar presentations


Presentation on theme: "DECIMALBINARY a) 203 10 b) 01001110 2 c) d) 11010000 2 e) f) 75 10 Revision Exercise DECIMALBINARY a) 203 10 11001011 2 b) 78 10 01001110 2 c) 249 10 11111001."— Presentation transcript:

1 DECIMALBINARY a) 203 10 b) 01001110 2 c) d) 11010000 2 e) f) 75 10 Revision Exercise DECIMALBINARY a) 203 10 11001011 2 b) 78 10 01001110 2 c) 249 10 11111001 2 d) 208 10 11010000 2 e) 171 10 10101011 2 f) 75 10 01001011 2

2 Hexadecimal Number System

3 – 16 different values possible: 0 1 2 3 4 5 6 7 8 9 A B C D E F (0 – 9) (10 11 12 13 14 15) A to F represent numbers 10 to 15 – Base 16 – E.g. C4 16 Hexadecimal System

4 Binary to Hexadecimal Conversion Q: Convert 01101110 2 to hexadecimal. A: 21482148 10110110 4 + 28 + 4 + 2 614 = E 6E 16

5 Hexadecimal to Binary Conversion Q: Convert C4 16 to binary. A: 21482148 00100011 8 + 4 C = 12 4 C4 16 2

6 Decimal to Hexadecimal Example 1 Ans: 41 10 = 29 16 Q: Convert 41 10 to hex A: 4116 2Remainder 916 0 Remainder 2

7 Decimal to Hexadecimal Example 2 Ans: 109 10 = 6 13 16 Q: Convert 109 10 to hex A: 10916 6Remainder 1316 0 Remainder 6 = 6 D 16

8 Hexadecimal to Decimal Example 1 Q: Convert 3C 16 to decimal A: 16 0 16 1 Step 1: Place Values Step 2: Multiply by place value Step 3: Hex value for letters 48 + 12 3C (3 x 16) + (C x 1) (3 x 16) + (12 x 1) Step 4: Add values 60 10

9 Hexadecimal to Decimal Example 2 Q: Convert 1F 16 to decimal A: 16 0 16 1 Step 1: Place Values Step 2: Multiply by place value Step 3: Hex value for letters 16 + 15 1F (1 x 16) + (C x 1) (1 x 16) + (15 x 1) Step 4: Add values 31 10

10 Q: Convert 139 10 to hexadecimal. A: 1)convert 139 10 to binary – 139 10 10001011 2 2)convert from 10001011 2 to hexadecimal. – 10001011 2 8B 16 Decimal to Hexadecimal Short Method

11 Hexadecimal to Decimal Short Method Q: Convert 1F 16 to decimal. A: 1)convert 1F 16 to binary – 1F 16 00011111 2 2)convert from 00011111 2 to decimal. – 00011111 2 31 10


Download ppt "DECIMALBINARY a) 203 10 b) 01001110 2 c) d) 11010000 2 e) f) 75 10 Revision Exercise DECIMALBINARY a) 203 10 11001011 2 b) 78 10 01001110 2 c) 249 10 11111001."

Similar presentations


Ads by Google