february_2000

February_2000 - Department of Electrical and Computer Engineering McGill University 304-221A Introduction to Computer Engineering I Mid Term Exam

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 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 for the full adder, how long does the multiplier take to perform a 16-bit by 16-bit multiply if the...
View Full Document

This note was uploaded on 04/25/2010 for the course ECSE 221 taught by Professor F.pferrie during the Fall '09 term at McGill.

Page1 / 2

February_2000 - Department of Electrical and Computer Engineering McGill University 304-221A Introduction to Computer Engineering I Mid Term Exam

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online