Homework Assignment #4 [50 pts]


You are expected to do your own work on all homework assignments. You may (and are encouraged to) engage in general discussions with your classmates regarding the assignments, but specific details of a solution, including the solution itself, must always be your own work. (See the statement of Academic Dishonesty on the Syllabus.)

How to turn in?

Assignments need to be turned in via Laulima. Check the Syllabus for the late assignment policy for the course.

What to turn in?

You should turn in a single plain text or PDF file named README.txt or README.pdf with your answers to the assignment’s questions.

A 25% grade penalty will be applied if the file format or file name is wrong. NO SCANNED HAND-WRITTEN ASSIGNMENTS ACCEPTED

Exercise #1: Overflow [40 pts]

For each of the following hex operations:

answer these two questions:


Exercise #2: Mystery Digit [10 pts]

Given the following operation with a mystery hex digit:

?EFD + C32A

answer these two questions: