FinalApr2003 - Department of Electrical Engineering McGill...

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

View Full Document Right Arrow Icon
1 Department of Electrical Engineering McGill University ECSE 221 Introduction to Computer Engineering I Final Examination Friday, April 25 th , 2003 2:00pm Examiner: Prof. F.P. Ferrie Associate Examiner: Prof. D. Lowther Instructions: Answer ALL questions in the examination booklet provided, showing all of your work. Calculators are permitted, but they must be the Faculty standard. All questions are equally weighted. Question 1 a) A particular computer represents a long integer using a 24-bit register. Determine the number ranges corresponding to data types long and unsigned long . [2 points] b) This same computer uses an IEEE like representation to encode floating point numbers using a single 24-bit register. Assuming that the precision of the mantissa is guaranteed to a maximum of 4 significant figures (base 10), determine the bias, exponent range, and number range that can be represented using this scheme. [3 points] c) Encode the number 5.37 x 10 -21 to equivalent precision using this representation and express your result as a hexadecimal number. If you are unsure of your answer to (b), you may use IEEE 754 instead, but with a penalty of 1 point. [3 points] d) Finally, assuming that this computer uses a MIPS like memory accessing scheme (i.e. lw/sw instructions), then what is the maximum size of memory that can be installed in this computer? [2 points] Question 2 a) Write down the truth table corresponding to the 2-bit x 2-bit binary multiplier shown above, where [A1,A0] and [B1,B0] correspond to the multiplicand and multiplier respectively. Make sure that your truth table is ordered as follows: (A1 A0 B1 B0) | (P3 P2 P1 P0) . [2 points] B0 B1 A0 A1 P0 P1 P2 P3 Mult
Background image of page 1

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

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

This note was uploaded on 07/06/2008 for the course ESCE 221 taught by Professor Ferrie during the Spring '08 term at McGill.

Page1 / 5

FinalApr2003 - Department of Electrical Engineering McGill...

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