HW3 - Ryan Zanski ECE 2504 Introduction to Computer...

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

View Full Document Right Arrow Icon
Ryan Zanski ECE 2504 Introduction to Computer Engineering, Summer I 2010 Homework 3 Due date: 1 Jun 10, 11:55pm Show all work. 1. (5 pts) Convert (268.57362) 10 to 32-bit floating point representation in standard IEEE format. Represent your answer in hex. Binary: 100001100.100100101101100 Sign: 0, Exponent: 127+8 = 135 = 10000111, Mantissa: 1.00001100100100101101100 0100 0011 1000 0110 0100 1001 0110 1100= 4386496C 2. (5 pts) Convert 0xC35BC800, which is a 32-bit floating point number in IEEE 754 format, to decimal. Binary: 11000011010110111100100000000000 Sign: 1, so negative Exponent: 10000110 134-127 = 7 Mantissa: 10110111100100000000000 1.10110111100100000000000 2^7 11011011.1100100000000000 -219.78125 3. (4 pts) Represent the decimal number 5275 in BCD; excess-3 code; 2421 code; and in hex-coded binary. BCD: 0101 0010 0111 0101 Excess-3: 1000 0101 1010 1000 2421: 1011 0010 1101 1011 Hex: (binary: 0001 0100 1001 1011)- 149B 4. (10 pts) A collision avoidance system requires a vertical separation of 500 ft. The altimeter in a westbound flight reports its altitude to be 46FCD200H. Altitude values are stored in 32-bit IEEE 754 floating point format. The altimeter in an overlapping
Background image of page 1

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

View Full DocumentRight Arrow Icon
southbound flight reports its altitude to be 47006280H. Is the separation requirement met? Show how the calculations would be performed in binary, not in decimal.
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/15/2011 for the course ECE 2504 at Virginia Tech.

Page1 / 5

HW3 - Ryan Zanski ECE 2504 Introduction to Computer...

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

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