{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# homework1 - exactly If Pi is represented using IEEE...

This preview shows page 1. Sign up to view the full content.

ECE 190 Homework 1 Fall 2010 Complete all parts of the following problems from the textbook: 1.13 , 1.19 , 2.8 , 2.10 , 2.17 , 2.18 , 2.30 , 2.37 , 2.47 , 2.52 . In addition, solve the following 5 problems: 1. Give the binary representation using 12 bits of the follow positive integers: 13, 23, 77, 1025. Now express these numbers in hexadecimal notation. 2. Give the binary representation using 12 bits in 2's complement of −13, −23, −77, −1025. Now express these numbers in hexadecimal notation. 3. The following binary numbers are 4- bit 2’s complement binary numbers. Which of the following additions produce overflow? a . 0011 + 1100 b . 0011 + 1101 c . 1111 + 0001 d . 0101 + 1011 4. The number Pi is transcendental, which implies that an infinite number of bits are required to represent it
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: exactly. If Pi is represented using IEEE standard 32-bit floating point notation, what is the accuracy of that representation. In other words, give a close upper bound on how much the true value of Pi differs from the value represented in the floating point representation. 5. If an integer (positive or negative) N is represented in binary, then to obtain -N in one's complement, all you need to do is XOR with a particular number. What is that number? This homework is due on Wednesday September 1 st at 5pm promptly. It should be deposited in the ECE 190 dropbox in Everitt Lab. We will post solutions sometime thereafter, so late homeworks will not be accepted. No exceptions to this rule will be given....
View Full 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