Assn2Soln - CDA 3101 Assignment 2 Solutions Answers are in...

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

View Full Document Right Arrow Icon
CDA 3101 Assignment 2 Solutions Answers are in Blue. 1. (5 points) Problem 3.30 (c) from the textbook. –8.18545 x 10 -12 2. (10 points) Problem 3.38 from the textbook. Single Precision: 0 1000 0011 010 0100 0000 0000 0000 0000 Double Precision : 0 1000 0000 011 0100 1000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 3. (5 points) Write (in binary) the IEEE 754 single-precision representation of the number 6 5 9 . 6 5 9 = 9.833…. 6 5 9 = 1001.11010101010101010101*2^0 = 1.001110101010101*2^3 exp: 3+127 = 130 = 100…010 Ans: 1 10000010 00111010101010101010101 4. (3 points) Problem 3.44 (a). 32767 5. Consider an 80-bit extended precision floating point representation that is similar to the IEEE 754 floating point standard and uses 1 bit for the sign, 16 bits for the biased exponent and 63 bits for the fraction (f). Then, write (i) the 80- bit extended precision floating point representation in binary and (ii) the corresponding value in base-10 positional (decimal) system of the a. ( 5 points) the smallest positive normalized number b. ( 5 points) the second smallest positive normalized number c. ( 5 points) the largest positive normalized number d. ( 1 points) the smallest negative normalized number e.
Image of page 1

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

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern