{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

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

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

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

View Full Document
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.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern