CSE 351 Spring 2011
 CSE Home About Us Search Contact Info

 Home Administrative Syllabus Course Policies Academic Misconduct Homework Homework 0 Homework 1 Homework 2 Homework 3 Labs Lab 1 Lab 2 Lab 3 Lab 4 Lab 5 Due Friday, 6/3 Resources Lectures Exams Home Virtual Machines Communications Discussion Board Mail List Archives Turnin GradeBook Feedback Feedback Form

# CSE 351 Spring 2011 Homework 1

## Numerical Representations & Basic ISAs

Assigned: Friday, April 8, 2011
Due: Friday, April 15, 2011 at 11:59 PM
Turnin: Online as a PDF or on paper at the beginning of lecture on Friday, April 15 (handwritten solutions OK).

### Introduction

The purpose of written homework assignments is to get you thinking about the topics being covered in lecture and in readings in the textbook which are not represented in the hands-on, programming lab assignments. These written assignments also better prepare you for course examinations. It is worth noting that the book contains many pratice problems similar to the problems we ask on these written assignments. The solutions for these practice problems are located at the end of each chapter and should give you a feel for what we expect you to turn-in for these kind of assignments.

### Logistics

Since these written homeworks are not programming lab assignments, you will turn-in either physical versions on paper at the start of class on the days the assignments are due or online as electronic documents in PDF format. You may wish to type your solutions to these assignments, whether you submit them online or in person, since the TAs will not spend much effort trying to decipher poor handwriting while grading.

We will provide solutions to all of the problems in the written homework assignments in a timely fashion after the assignment is due. Since the late policy affords you a maximum of three late days, we cannot release solutions until the Wednesday following the assignment's due date, at the earliest.

### Questions

1. What is the 32-bit hexadecimal value of the number -127 if:
1. It is represented with the sign-and-magnitude method?
2. It is represented with ones' complement?
3. It is represented with two's complement?

2. From the textbook:
3. Problem 2.84, Parts A and B

4. Problem 2.88

5. Problem 3.56

6. Problem 3.62, Parts A and B

 Computer Science & Engineering University of Washington Box 352350 Seattle, WA  98195-2350 (206) 543-1695 voice, (206) 543-2969 FAX [comments to CSE 351 TAs]