october_2003

october_2003 - 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 ECSE-221 Introduction to Computer Engineering I Mid Term Exam Examiner: F.P. Ferrie Date: October 15 th , 2003 Question 1 (4 points) Encode the number –5.37 x 10 -16 using IEEE 754 single precision representation. Express your answer in hexadecimal form. (Compute mantissa to equivalent precision of input.) Question 2 (2 points) Determine the ranges corresponding to the following “C” data types: unsigned short, short, unsigned long, long. Question 3 (2 points) Using binary long division, compute the quotient and remainder corresponding to 11110001 / 1101. Question 4 (2 points) A signal with range [-5v, 7.5v] must be sampled with a resolution of 1.0 mV. How many digits would be required to represent this number if a base-7 system were used? Question 5 (2 points) A program must be written to convert an unknown ASCII character stored in an 8-bit register to lower case. If the machine in question has all of the basic operations discussed in Module 1
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_2003 - 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