exam1b_sol

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

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

View Full Document Right Arrow Icon
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
Background image of page 1

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

View Full DocumentRight Arrow Icon
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
Background image of page 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
Background image of page 3

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

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

This note was uploaded on 03/27/2008 for the course CS 252 taught by Professor Wood during the Spring '08 term at Wisconsin.

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 Right Arrow Icon
Ask a homework question - tutors are online