{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

february_2000 - Department of Electrical and Computer...

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

View Full Document Right Arrow Icon
Department of Electrical and Computer Engineering McGill University 304-221A Introduction to Computer Engineering I Mid Term Exam Examiner: F.P. Ferrie Date: February 28, 2000 Question 1 (2 points) Give a procedure for determining the length of an integer data type assuming you have access to a "C" compiler and you know that the machine does 2's complement arithmetic (limit your answer to no more than 2 or 3 sentences). Question 2 (2 points) Assuming an IEEE like floating point representation, how many mantissa bits are required to represent a decimal number to 3 significant figures in the fractional component? Question 3 (3 points) Encode the number 3.72 x 10 8 using the IEEE 754 floating point representation. Express your answer as a hexadecimal number. Question 4 (2 points) A binary multiplication algorithm, equivalent to the one you wrote for Assignment 1, is implemented in hardware on a digital computer. Assuming that all delays are negligible except
Background 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 ]}