CSCI 112 Fall 2016
Exploring Computer Science
Archived Class
Charles Cusack
Computer Science
Hope College
Main
Schedule
Grading
Gradebook
Homework
Project

Policies
College
    Policies
Advice

Notes
Programs
Tutorials

CSCI 112
CSCI 125
Others

Admin

Homework 11

General Comments

  • Problem from the book are taken from the Chapter Review Problems sections.
  • For full credit, provide context for each problem, show all calculations, and explain your work/answers.
  • Numbers and/or algebra by themselves are not enough.
  • You will lose a significant amount of credit if you do not show enough work/context for your answers.
  • Homework assignments must be very neatly written or typeset (e.g. using Word or OpenOffice).

Details

Do the following exercises from pages 144-145 of your textbook (134-135 in the full book) and the ones listed below.
ProblemPointsComments
334Answer both parts.
414Answer both parts.
424Make sure you understand the exact definitions of the two terms. Also, try to exhaust all possible causes of each.
434
474Give your answer using reasonable units (e.g. days or years if it is really large).
Problem 1 below4
Problem 2 below4

  1. A computer system has a cache with access rate of 1 ns (1 x 10-9 seconds), and RAM with access rate of 50 ns (50 x 10-9 seconds). Assume that a requested item is in the cache 95% of the time. What is the average access time for an item on this system?
  2. A computer system has a cache with access rate of 1 ns (1 x 10-9 seconds), RAM with access rate of 50 ns (50 x 10-9 seconds), and virtual memory on the hard drive with access rate of 9 ms (9 x 10-3 seconds). Assume that a requested item is in the cache 95% of the time, and is in the RAM 99% of the time. What is the average access time for an item on this system?