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

Info iconThis 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
Background 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 1s complementing by inversion of all bits: 11111001 + ______ 1 2s complement by incrementing the 1s 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 2s complement form. In this case the binary magnitude is obtained by 2s finding a 2s complement of the number in the 2s complement form. 11111010 1s complement by bit inversion 00000101 2s complement by incrementing the 1s complement 00000110 = 6...
View Full Document

This note was uploaded on 03/21/2010 for the course ESE 218 taught by Professor Donetsky during the Spring '08 term at SUNY Stony Brook.

Ask a homework question - tutors are online