CS 255 - Computer Organization/Architecture I
Homework Assignment 1

Due date: See Class Webpage

1. 2's Complement Encoding (20 pts)



2. 10's Complement Encoding (20 pts)



3. Binary Arithmetic (10 pts)



4. Base-5 Arithmetic (10 pts)



5. Octal, Hexadecimal and Other Numbers (20 pts)



6. Encoding (20 pts)





Statement of Policy on Homework Assignments

Students will be graded partially on the basis of their homework assignments. These homework assignments are to be treated as examinations, and are expected to be your individual work. While discussions with other students in the course may be permitted or encouraged by your instructor, you should write your program yourself. Your instructor (and any teaching assistants assigned to the course) will be glad to help you to the extent that he or she feels reasonable.

Submissions based on other students solutions in prior offerings of the course specifically violate these guidelines, as do submissions prepared with the help of an outside "tutor".

You should take precautions to protect the confidentiality of your work, do not collaborate on questions that you turn in for a grade, do not show your solution to a fellow student, not even after the due date for some students may have receive extension.

All submissions should include a comment statement near the top of the program of the form:

THIS CODE IS MY OWN WORK, IT WAS WRITTEN WITHOUT CONSULTING A TUTOR OR CODE WRITTEN BY OTHER STUDENTS - your name

Cases of apparent plagiarism or collusion will be referred to the Honor Council.