Homeworks #3, #4, and #5

Homework #3 -- due 5:00 PM, 11 March, 1994

Do the following problems from Chapter 10 (pp. 376-377) of the textbook.

Homework #4 -- due 24 March, 1994

Do the following problems from Chapter 10 (pp. 377-379) of the textbook.

Also, find out the format used to store floating point numbers in either the MIPS R3000 or the Alpha AXP and show how your Social Security number is represented in that format.

Homework #5 -- due 31 March, 1994

Write a program for testing which of the following two loops is really faster on either the MIPS R3000, Alpha AXP, or Intel 80x86 chips.

     for (i=0; i<100000; ++i)           for (i=0; i<100000; ++i)
          s = s + A[i] ;                     A[i] = s + A[i] ;

You may perform this assignments in teams of two, provided that the duo performs the test on more than one CPU.

Back to the Handout index