Quiz1sp12

# Quiz1sp12 - Result valid decimal Borrow Out Overflow 3 Add...

This preview shows page 1. Sign up to view the full content.

CompE 270 Digital Systems Q1Sp12xE1S10 NAME:____________________ Quiz #1 - use other side if needed -- SHOW WORK for partial credit Quiz1sp12.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: 5 pts. 8 bits, unsigned 4 bits, 2’s complement (most from: ___ __ (base 10) negative) from: _ ______ (base 10) to: _____ (base 10) (to most to: _ ______ (base 10) positive) 2) Subtract the 8-bit UNSIGNED values (show results as 8 bits : binary, hex, and decimal notation). Indicate if the result is valid 10 pts FF hex binary = _____ Dec - 10 hex - _______________ binary = _____ Dec show results in = _______________ binary = _____ Dec hexadecimal:
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: __________ Result valid? ____ decimal: __________ Borrow Out: _ ___ Overflow: _____ 3) Add the 8-bit 2’s comp values (show results as 8 bits : binary, hex, and decimal notation). Indicate if the result is valid 10 pts FF hex binary = _____ Dec + 10 hex + _______________ binary = _____ Dec show results in = _______________ binary = _____ Dec hexadecimal: __________ Result valid? ____ decimal: __________ Carry Out: C = ___ Overflow: _____ 4) Multiply 3 10 times 5 10 in unsigned binary: 5 pts Convert: (5 pts ea) 5) 4 bit 2’s complement 10.01 to decimal: __________ 6) Decimal -1.25 to 2’s complement binary: __________ 7) Unsigned hex 100C to decimal: ________ 8) Decimal 127 to unsigned hex: _______...
View Full 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.

Ask a homework question - tutors are online