{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

quiz - a obtain the binary presentation for the following...

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

View Full Document Right Arrow Icon
ESE218 Quiz 1 September 11, 2008 Name_______________________________ ID___________________ 1. Obtain the octal and hexadecimal forms of the binary number 11.11 2 = 3.6 8 = 3.C 16 2. Obtain the number which is 8 times larger than the number above (keep the answer in the binary form) 11.11 2 × 1000 2 = 11110 2 by shifting the binary point to the right 3 times since 8 =2 3 3. Present the following decimal numbers in the binary form: a) 10 10 = 1010 2 by writing a remainder after repeated division by 2, starting with LSB (least significant bit) b) 0.8 10 =0.1100 2 (keep four binary digits after the binary point) by writing an integer part after repeated multiplication by 2, begins with MSB (most significant bit) 4. Consider an 8-bit digital system operating with signed binary numbers. It is known that negative numbers are presented in the 2’s complement form
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: a) obtain the binary presentation for the following negative decimal number: - 6 10 = 11111010 starting with +6: 00000110 1’s complementing by inversion of all bits: 11111001 + ______ 1 2’s complement by incrementing the 1’s complement: 11111010 b) determine both sign and magnitude of the binary number presented as follows 11111010 2 = -6 10 MSB = 1 indicates that the sign is negative. Thus, the number is presented in the 2’s complement form. In this case the binary magnitude is obtained by 2’s finding a 2’s complement of the number in the 2’s complement form. 11111010 1’s complement by bit inversion 00000101 2’s complement by incrementing the 1’s complement 00000110 = 6...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern