october_2000

october_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: October 23, 2000 Question 1 (2 points) Calculate the number of significant figures that can be represented using the IEEE 754 floating point representation. Question 2 (4 points) Encode the number 6.29 x 10 13 using IEEE 754 encoding and express your result as a 4-digit hexadecimal number. Question 3 (2 points) Multiply 1011 by 1101 using binary multiplication. Show your work and express the result in octal notation. Question 4 (2 points) Explain why most floating point representations encode the exponent using a bias instead of a twos-complement scheme. Question 5 (2 points) Determine what is produced by the following "C" program: int main() { char c=0x41; printf("Variable c contains %c\n",c|0x20); } Question 6 (2 points) How many bits are required to encode a voltage in the range [-6,12] V assuming a resolution of 1.0 mV? (turn over, more questions on back)
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 04/25/2010 for the course ECSE 221 taught by Professor F.pferrie during the Fall '09 term at McGill.

Page1 / 2

october_2000 - Department of Electrical and Computer...

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