
CPSC 2105 Introduction to Computer Organization
Homework Set 3 Due Wednesday, April 25, 2007
NOTE: SHOW ALL OF YOUR WORK. YOU MUST DEMONSTRATE THAT YOU
UNDERSTAND THE PROCESS OF OBTAINING AN ANSWER. WHILE THESE CAN
BE DONE ON MANY CALCULATORS, YOU MUST DO THESE BY HAND.
DO NOT SHOW ANY WORK ON THIS QUESTION SHEET.
1. A cache memory has a 99% hit rate and an effective access time of 10.9
nanoseconds. The computer main memory has an access time of 100 nanoseconds.
What is the access time for the cache memory?
2. Suppose a cache memory with access time of 4 nanoseconds fronting a main memory
with access time of 60 nanoseconds. What is the effective access time if
a) The hit ratio is 0.9?
b) The hit ratio is 0.95?
c) The hit ratio is 0.99?
3. A given hard drive has the following properties.
It spins at 12,000 rpm
The disk has four platters; thus it has eight surfaces
Each surface has 5120 tracks
Each track has 384 sectors
Each sector contains 1024 bytes.
a) How many cylinders does the disk have?
b) What is the capacity of the disk? Express the answer in either
bytes, megabytes, or gigabytes.
c) What is the maximum data transfer rate for the disk?
d) For how long can this maximum data transfer rate be sustained
without retransmitting old data?
4. Suppose that a 64M by 16 main memory is built using 512KB by 8 RAM
chips and that memory is 16–bit word addressable.
a) How many RAM chips are necessary?
b) How many address bits are sent to each RAM chip?
c) How many address bits would be used to select the RAM chip?
5. Suppose a computer using direct mapped cache has 220 words of main memory and a
cache of 1024 blocks, where each cache block contains 16 words.
a) How many blocks of main memory are there?
b) What is the format of a memory address as seen by the cache, that is, what are the
sizes of the tag, block, and word fields?