Q4 Sample - Answer: -1.111 x 2 -1111000 b)...

Info iconThis 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
Background 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

This note was uploaded on 02/14/2010 for the course COMPUTER S COIS-3030 taught by Professor Hircock during the Spring '10 term at Trent University.

Ask a homework question - tutors are online