CSE 351: The Hardware/Software Interface

Spring 2018 Course Website Return home »

Homework 4: Cache Organization and Indexing

Assigned Tuesday, May 8, 2018
Due Date Wednesday, May 16, 2018 before 11:59PM
Submissions No submissions; complete the Canvas quizzes linked below.


The purpose of homework assignments is to get you thinking about the topics being covered in lecture and in readings in the textbook that are not represented in the hands-on, programming lab assignments. The homework also provides you with practice problems in preparation for the exams. It is worth noting that the book contains many practice problems similar to the problems we ask on these written assignments! The solutions for those practice problems are located at the end of each chapter and can be used as an additional resource as you work on these assignments.


All homework this quarter is being presented as “quizzes” on Canvas. Please follow the links below to find the questions and to input your answers. Unfortunately, Canvas is an imperfect system and you must submit the entirety of a quiz at once and can't save intermediate progress. You will receive a score immediately after submission, including an indication of which questions you answered incorrectly.

You have 20 attempts for each Canvas quiz. No late homework will be accepted.

You are encouraged to work in groups and ask questions about the homework on the discussion board, but it is in your best interest to attempt the homework by yourself first. If you don't fully understand the solutions, it will likely come back to haunt you on the exams, which are worth a much larger percentage of your course grade.

Make sure you are using the 3rd edition of Computer Science: A Programmer's Perspective, otherwise you might be doing the wrong problems!


Homework 4 has been separated by topic into the following quizzes to make submission more manageable. Make sure you complete all of the quizzes below in order to receive full credit:

  1. Structs
  2. Cache Parameters
  3. Cache Operation