february_2001

february_2001 - 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
McGill University 304-221B Introduction to Computer Engineering I Mid Term Exam Examiner: F.P. Ferrie Date: February 12 th , 2001 Question 1 (2 points) Calculate the smallest number greater than 0 that can be represented using the IEEE 754 floating point representation. Question 2 (4 points) Encode the number -3.27 x 10 -12 using IEEE 754 encoding and express your result as a 4-digit hexadecimal number. Question 3 (2 points) A particular computer represents numbers internally using tens-complement BCD. If the register length is 4 digits, then what number would the quantity 7521 correspond to? Question 4 (2 points) Define what is meant by the term isomorphic , in the context of computer representations. Question 5 (2 points) Determine what is produced by the following "C" program: int main() { char c=0x61; printf("Variable c contains %c\n",c&0xdf); } Question 6 (2 points) A computer represents numbers using 5 distinct voltage levels. How many digits are required by
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 ]}

Page1 / 2

february_2001 - 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