Q4 Sample - Answer-1.111 x 2-1111000 b Answer 1.1101 x 2...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Name: ______________________ Student Number: _____________________ Trent University Computer Science 230H Fall 2007 Quiz #4 Sample questions Topic: ALU 1. [3 marks] Give the value in binary scientific format (e.g. 1.111 x 2 -11011 ), of the following 32 bit floating point number assuming the same format as in your notes on slide 6 ALU Set 3, assuming a bias of 127. a) 10000011111100000000000000000000
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Answer: -1.111 x 2 -1111000 b) 01111100111010000000000000000000 Answer: 1.1101 x 2 1111010 2. [3 marks] Perform the following operations on floating point numbers. a) 0.11011 x 2 7 + 0.11100 x 2 5 Answer: 0.10001 x 2 8 b) 0.10011 x 2 -5 + 0.11011 x 2 -3 Answer: 0.11111 x 2-3 c) 0.11010 x 2 6 x 0.10011 x 2-5 Answer: 0.1111 x 2 1...
View Full 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