ce12_w08_hw3_sol

ce12_w08_hw3_sol - CMPE 12 Winter 2008...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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, sign-magnitude, and biased notation (bias of 15) One's complement: 10 Two's complement: 1 Sign-magnitude: 11 Bias 15: 01110 c. -57 in one's complement, two's complement, sign-magnitude, and biased notation (bias of 127) One's complement: 1000110 Two's complement: 1111001 Sign-magnitude: 1000111 Bias 127: 0000110 d. 153 6 in one's complement, two's complement, sign-magnitude, and biased notation (bias of 331 6 ) One's complement: 10111010 Two's complement: 11000101 Sign-magnitude: 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

Page1 / 2

ce12_w08_hw3_sol - CMPE 12 Winter 2008...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online