CPE 005B.pdf - Instructor Rodelyn M Aguinaldo*Announced...

Info icon This preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Instructor: Rodelyn M. Aguinaldo *Announced quiz, normally every Friday . * Edmodo Account * Blue pen during Lab activities. Convert 18.6875D to binary Integral Part = 18D 18/2 => quotient=9 remainder=0 9/2 => quotient=4 remainder=1 4/2 => quotient=2 remainder=0 2/2 => quotient=1 remainder=0 1/2 => quotient=0 remainder=1 (quotient=0 stop) Hence, 18D = 10010B Fractional Part = .6875D .6875*2=1.375 => whole number is 1 .375*2=0.75 => whole number is 0 .75*2=1.5 => whole number is 1 .5*2=1.0 => whole number is 1 Hence .6875D = .1011B Therefore, 18.6875D = 10010.1011B From < > Convert 18.6875D to hexadecimal Integral Part = 18D 18/16 => quotient=1 remainder=2 1/16 => quotient=0 remainder=1 (quotient=0 stop) Hence, 18D = 12H Fractional Part = .6875D .6875*16=11.0 => whole number is 11D (BH) Hence .6875D = .BH Therefore, 18.6875D = 12.BH From < > 1.9 Exercises (Number Systems Conversion) Convert the following decimal numbers into binary and hexadecimal numbers: 1. 108 2. 4848 3. 9000 4. Convert the following binary numbers into hexadecimal and decimal numbers: 5. 1000011000 6. 10000000 7. 101010101010 8. Convert the following hexadecimal numbers into binary and decimal numbers: 9. ABCDE 10. 1234 11. 80F 12. Convert the following decimal numbers into binary equivalent: 13. 19.25D 14. Computer Organization (Lecture 1) Sunday, November 09, 2014 10:59 PM CPE 005B Page 1
Image of page 1

Info icon This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
19.25D 14. 123.456D 15. Answers: You could use the Windows' Calculator ( calc.exe ) to carry out number system conversion, by setting it to the scientific mode. (Run "calc" Select "View" menu Choose "Programmer" or "Scientific" mode.) 1101100B , 1001011110000B , 10001100101000B , 6CH , 12F0H , 2328H . 16. 218H , 80H , AAAH , 536D , 128D , 2730D . 17. 10101011110011011110B , 1001000110100B , 100000001111B , 703710D , 4660D , 2063D . 18. ?? 19. From < > CPE 005B Page 2
Image of page 2