1 / 28

19.2 Conversions between Number System

19.2 Conversions between Number System. Conversions between Denary, Binary, Octal and Hexadecimal Integers. From Denary Integers to Binary Integers. Example 19.7. Convert 27 10 into a binary integer. Solution. i.e. 27 10 = 11011 2.

Télécharger la présentation

19.2 Conversions between Number System

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 19.2 Conversions between Number System Conversions between Denary, Binary, Octal and Hexadecimal Integers

  2. From Denary Integers to Binary Integers Example 19.7 Convert 2710 into a binary integer.

  3. Solution i.e. 2710 = 110112

  4. From Binary, Octal or Hexadecimal Integers to Denary Integers Example 19.8 Convert 110112 into a denary integer.

  5. Solution

  6. i.e. 110112 = 1  24 + 1  23 + 0  22 + 1  21 + 1  20 = 16 + 8 + 0 + 2 + 1 = 2710

  7. Example 19.9 Convert 2578 into a denary integer.

  8. Solution

  9. i.e. 2578 = 2  82 + 5  81 + 7  80 = 128 + 40 + 7 = 17510

  10. Example 19.10 Convert 1A2B16 into a denary integer.

  11. Solution

  12. i.e. 1A2B16 = 1  163 + 10  162+ 2  161 + 11  160 = 4096 + 2560 + 32 + 11 = 6699

  13. From Binary Integers to Octal Integers Example 19.11 Convert 10101112 into an octal integer.

  14. Add leading zeros Solution 0 0 0 0 1 0 1 0 1 1 1 1 2 7  10101112 = 1278

  15. From Binary Integers to Hexadecimal Integers Example 19.12 Convert 101011111112 into a hexadecimal integer.

  16. Add leading zeros Solution 0 1 0 1 0 1 1 1 1 1 1 1 0 5 7 F  101011111112 = 57F16

  17. From Hexadecimal Integers to Octal Integers Example 19.13 Convert 7DE16 into an octal integer.

  18. Binary Octal Solution 7 D E Hexadecimal 0 1 1 1 1 1 0 1 1 1 1 0 3 7 3 6  7DE16 = 37368

  19. From Octal Integers to Hexadecimal Integers Example 19.14 Convert 3678 into a hexadecimal integer.

  20. Add leading zeros Binary Hexadecimal Solution 3 6 7 Octal 0 0 0 0 0 0 0 1 1 1 1 0 1 1 1 0 F 7  3678 = F716

  21. The corresponding binary, octal and hexadecimal integers of denary integers 0 to 15:

  22. Conversion between Decimal and Binary Fractions From Binary Fractions to Decimal Fractions

  23. Example 19.15 Convert 0.11012 into a decimal fraction.

  24. Solution 0.11012 = 1  2–1 + 1  2–2 + 0  2–3+ 1 2–4 = 0.812510

  25. From Decimal Fractions to Binary Fractions Example 19.16 Convert 0.687510 into a binary fraction.

  26. Solution

More Related