Quiz1solutions - CompE 270 Digital Systems Quiz #1 S10...

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

View Full Document Right Arrow Icon
CompE 270 Digital Systems S10 NAME:_ SOLUTIONS __ Quiz #1 Quiz1solutions.doc 1 1) Binary notation has a range of valid values which depends on the number of bits and format. What is the range of valid values (in decimal notation) for: 10 pts. 16 bits, unsigned 8 bits, 2’s complement (most from: __ 0 __ (base 10) negative) from: - 2 7 = -128 (base 10) to: _ 2 16 -1 ___ (base 10) (most to: + 2 7 -1 = +127 (base 10) =65535 positive) 2) Add the 8-bit UNSIGNED values (show results as 8 bits : binary, hex, and decimal notation). Indicate if the result is valid 10 pts carry: 1 1 1 1 1 1 FE hex 1 1 1 1 1 1 1 0 binary = 254 Dec show + 1D hex + 0 0 0 1 1 1 0 1 binary = 29 Dec results in = 0 0 0 1 1 0 1 1 binary = 27 Dec hexadecimal: (1) _ 1B ____ Result valid? No . Carry Out: C = 1_ Overflow: No . 3) Add the 8-bit UNSIGNED values (show results as 8 bits : binary, hex, and decimal notation). Indicate if the result is valid 10 pts carry: 1 1 1 1 FF hex 1 1 1 1 1 1 1 1 binary = 255 Dec show + 10 hex +
Background image of page 1

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

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/26/2012 for the course COMPE 270 taught by Professor Harris during the Spring '08 term at San Diego State.

Page1 / 2

Quiz1solutions - CompE 270 Digital Systems Quiz #1 S10...

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