This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
Unformatted text preview: CMPE 12 Winter 2008 Name:________________ Homework 3: Due February 6 Email:________________ 1) (12 pts) Represent these numbers in the specified format a. 100 in unsigned binary, one's complement, two's complement, and biased notation (bias of 255) Unsigned binary: 1100100 One's complement: 01100100 Two's complement: 01100100 Bias 255: 101100000 b. 1 in one's complement, two's complement, signmagnitude, and biased notation (bias of 15) One's complement: 10 Two's complement: 1 Signmagnitude: 11 Bias 15: 01110 c. 57 in one's complement, two's complement, signmagnitude, and biased notation (bias of 127) One's complement: 1000110 Two's complement: 1111001 Signmagnitude: 1000111 Bias 127: 0000110 d. 153 6 in one's complement, two's complement, signmagnitude, and biased notation (bias of 331 6 ) One's complement: 10111010 Two's complement: 11000101 Signmagnitude: 10111011 Bias 331 6 (127): 00111010 2) (10 pts) What are the largest and smallest numbers that can be represented with 4, 7, or 8 bits in these...
View
Full Document
 Fall '08
 DIBLAS
 Binary numeral system, Bitwise operation, Least significant bit

Click to edit the document details