{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

exam1b_sol

# exam1b_sol - CS/ECE 252 INTRODUCTION TO COMPUTER...

This preview shows pages 1–4. Sign up to view the full content.

CS/ECE 252: INTRODUCTION TO COMPUTER ENGINEERING COMPUTER SCIENCES DEPARTMENT UNIVERSITY OF WISCONSIN—MADISON Prof. David A. Wood Midterm Examination 1 In Class (50 minutes) Monday, February 18, 2008 Weight: 15% The exam consists of four two-sided pages and one scratch sheet at the end. Plan your time carefully, since some problems are longer than others. NAME: _____________________KEY__________________________________ SECTION: __________________________________________________________ ID# ______________________________________________________________ 1

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

View Full Document
Problem Number Maximum Points Actual Points 1 4 2 3 3 3 4 4 5 4 6 4 7 4 8 4 Total 30 2
Problem 1 (4 points) a) What is the largest (most positive) integer that can be represented as an unsigned integer using 10 bits? 2^10 – 1 = 1023 b) What is the largest (most positive) integer that can be represented as a two’s complement integer using 10 bits? 2^{10-1} – 1 = 511

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 9

exam1b_sol - CS/ECE 252 INTRODUCTION TO COMPUTER...

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

View Full Document
Ask a homework question - tutors are online