Homework2

Homework2 - BME303 Spring 2007 Homework 2 Due Last Name...

• Homework Help
• 4

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

BME303 Spring 2007 Homework 2 Due 2/13/2007 Last Name: Kanungo First Name: Anil . Instructions: 1. Each homework must be stapled [50 points are deducted otherwise]. 2. The first page of the homework must have a completed heading as above (it can be hand written). 3. Show your work, except in the most obvious cases where the calculations can be done mentally. 4. Your work must be neat and clear. Note: These instructions apply to all the assignments this semester. Problem 1 [4 + 2 = 6] a) You have a 4 bit computer, i.e. a computer that can only do 4 bit binary arithmetic and everything beyond the 4 th bit cannot be represented. Complete the following addition table where you add the binary number in the i th column with the j th row. The numbers are represented using 2’s complement format. An example is given to get you started. 0011 1110 0110 1010 0001 0100 1111 0111 1011 0011 0110 0001 1001 1101 0111 1010 0101 1101 0001 1111 0010 1101 0101 1001 b) Is there an overflow in some additions (circle if any) [shaded instead to indicate overflow] Problem 2 [2+2+2+2 = 8] In the following table, the 1 st column represents a bit pattern on an 8 bit computer (i.e. anything beyond 8 bits is not represented). Column A: Write the 1’s complement of the initial bit pattern.

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

This is the end of the preview. Sign up to access the rest of the document.
• Spring '08
• Ren
• Binary numeral system

{[ 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