Homework 1

22C:122/55:132, Spring 2001

Due Friday Jan 19, 2001, in class

Douglas W. Jones

Always, on every assignment, please write your name legibly as it appears on your University ID and on the class list!

This first assignment is dominated by review questions that are not as much specific to the material in the book as they are to material you should have learned in prior courses or work experience. None of the answers should be long, and none should take longer than a few minutes of your time.

The assignment due date allows completed work to be returned by courrier from Rockwell-Collins to Iowa City.

  1. What is your E-mail address? (If you have more than one, give the address you'd prefer used for class purposes.)

  2. What class and section are you in? (22C:122 vs 55:132; U of I vs Collins)

  3. Background: One prerequisite for this course is knowledge of elementary digital logic. This question asks you do demonstrate that you have this knowledge.

    The Problem: Show a truth table for a full adder using ripple carry.

  4. Background: Another prerequisite for this course is knowledge of elementary computer architecture. This question asks you to demonstrate that you have this knowledge.

    The Problem: Show how the expression A = B + 5 is evaluated in the assembly language of any computer (current, obsolete or fictional), assuming A and B are one-word variables, and assuming that they are global variables -- that is, that they have static addresses. Of course, you must identify the computer you are using as an example! (For most machines, the solution will be 3 instructions or less.)

  5. Background: Another prerequisite for this course is knowledge of elementary operating systems. This question asks you to demonstrate that you have this knowledge. The Problem: What is an interrupt service routine?