CS 105 Homework Assignment 5
Due: As Indicated by the Calendar

Use a text processing system (e.g., latex, troff, frame) to answer any question from the midterm that you did not get totally correct.

  1. For problem 1, besides the correct answer, put down the page number in the book where the correct information can be found.
  2. For problem 2, make sure you understand why the parallel actions are possible.
  3. For problem 3, make sure you check ALL entries in the cache line. Also, be sure to understand which pieces of information give you the sizes of the various fields.
  4. For problem 4, draw the stack just before the 'CALL' of 'gets', being very careful about the byte order of items.
    draw the stack just before the 'CALL' of 'printf', again being very careful about the byte order of items.
  5. For problem 5, draw the stack as you enter 'func' and use the stack to figure out the data structure.

Mike Erlinger

Last Modified Thursday, 30-Jun-2011 12:44:43 PDT