Quiz1sp11

# Quiz1sp11 - Y or N Carry Out C=_0 or 1 Overflow Y or N 3...

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

CompE 270 Digital Systems Sp11 NAME:_______________ Quiz #1 Quiz1.doc 1 SHOW YOUR WORK FOR PARIAL CREDIT!!! USE OTHER SIDE IF NECESSARY 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. 6 bits, 2’s complement 10 bits, unsigned (most from: _____ (base 10) negative) from: _______ (base 10) to: _____ (base 10) (most to: _______ (base 10) 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 FC hex __ __ __ __ __ __ __ __ binary = _____ Dec show + 2A hex + __ __ __ __ __ __ __ __ binary = _____ Dec results in = __ __ __ __ __ __ __ __ binary = _____ Dec hexadecimal: _________ Result valid?
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Y or N ? Carry Out: C=_0 or 1_? Overflow: Y or N ? 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 FC hex __ __ __ __ __ __ __ __ binary = _____ Dec show + 2A hex + __ __ __ __ __ __ __ __ binary = _____ Dec results in = __ __ __ __ __ __ __ __ binary = _____ Dec hexadecimal: _________ Result valid? Y or N ? decimal: _________ Carry Out: C=_0 or 1_? Overflow: Y or N ? 4) Convert: (5 pts each) a) 8 bit 2’s complement 11000.110 to decimal: ___________________ b) Decimal -127.75 to 2’s complement binary: _________________ (Show the minimum number of bits necessary.) c) Unsigned hex 120A to decimal: ___________________ d) Decimal -1 to 8 bit hex: ___________________...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online