This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 1 EE 101 Homework 2 Fall ’06 ● Redekopp Name: _SOLUTIONS____________________________ Lecture 9:30 / 12:30 / 5:00 Due: Score: ________ Show work to get full credit. Remember, use on only one side of the paper and staple them together. Only use a calculator to CHECK your work, not to DO your work. 1. (12 pts.) What are the corresponding decimal representations for the following binary strings: 10110110 , 11011011, if a. The binary numbers are in 8-bit unsigned format ? 10110110 = 128+32+16+4+2=182, 11011011 = 128+64+16+8+2+1=219 b. The binary numbers are in 8-bit signed-magnitude format ? 10110110 = neg+32+16+4+2=-54, 11011011 = -91 c. The binary numbers are in 8-bit 2's complement format ? 10110110 = -128+32+16+4+2=-74, 11011011 = -37 2. (18 pts.) For each of the following decimal numbers find the corresponding 8-bit representation, if possible, using the indicated systems. Then find the minimum bits needed to represent the number in the 2’s complement system....
View Full Document
- Fall '06
- Binary numeral system, cout=1,cin=1 No Overflow