

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


EE 2740 โ HW 3 solutions 1
Fall 2013
(a) Convert ( 377 ) 10 to binary, octal, and hexadecimal. (b) Convert ( 00101101 ) 2 into octal, hexadecimal, and decimal. (a) ( 377 ) 10 = (1 0111 1001) 2 = ( 571 ) 8 = ( 179 ) 16 (b) ( 00101101 ) 2 = ( 55 ) 8 = (2D) 16 = ( 45 ) 10
Take the 8-bit 1โs complement and the 8-bit 2โs complement of each of the following binary numbers: (a) 00000100 (b) 11111011 (c) 00110111 (d) 11100000 To enhance the readability, the answers insert a space between each four bits. (a) (b) (c) (d) original 0000 0100 1111 1011 0011 0111 1110 0000 1โs complement 1111 1011 0000 0100 1100 1000 0001 1111 2โs complement 1111 1100 0000 0101 1100 1001 0010 0000
Determine the 8-bit sign-and-magnitude, 1โs complement, and 2โs complement representations for each of the following decimal numbers: +36, โ84. (Note: Be sure to represent +36 as a positive number and โ84 as a negative number.) To enhance the readability, the answers insert a space between each four bits. decimal (^) + 36 โ 84 signed magnitude 0010 0100 1101 0100 1โs complement 0010 0100 1 010 1011 2โs complement 0010 0100 1 010 1100
Determine the decimal value of the following 8-bit 2โs complement numbers. (a) 11111011 (b) 00110111 (c) 11100011 (a) โ 5 (b) 55 (c) โ 29
EE 2740 โ HW 3 solutions 2