CSE 230 Final Exam Review (Ch. 10) Questions with Correct
Answers (Grade A+)
Question 1: Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter
the number of misses. 2 23 24 2 2 2
Answer: 3
Question 2: Given an 8-word, 4-way set associative cache, and the sequence of address accesses below,
enter the number of misses. 16 11 21 21 17 21
Answer: 4
Question 3: Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter
the number of misses. 1 1 1 14 19 14
Answer: 3
Question 4: Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter
the number of misses. 11 1 1 1 19
Answer: 3
Question 5: Given an 8-word, 2-way set associative cache, and the sequence of address accesses below,
enter the number of misses. 20 3 20 24 3 24
Answer: 3
Question 6: The pre-loading of instructions into a cache that follow the instruction currently being
executed is an example of what kind of locality? Dimensional Locality Temporal Locality Web Locality
Spatial Locality
Answer: Spatial Locality
Question 7: In a multilevel cache system, the primary (level-1) cache focuses on Short hit time Low miss
rate Short miss penalty Large block size
Answer: Short hit time
Question 8: A level 2 cache is focused on supporting what kind of locality? Temporal Locality
Dimensional Locality Web Locality Spatial Locality
Answer: Spatial Locality
Page 1
Answers (Grade A+)
Question 1: Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter
the number of misses. 2 23 24 2 2 2
Answer: 3
Question 2: Given an 8-word, 4-way set associative cache, and the sequence of address accesses below,
enter the number of misses. 16 11 21 21 17 21
Answer: 4
Question 3: Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter
the number of misses. 1 1 1 14 19 14
Answer: 3
Question 4: Given an 8-word, direct mapped cache, and the sequence of address accesses below, enter
the number of misses. 11 1 1 1 19
Answer: 3
Question 5: Given an 8-word, 2-way set associative cache, and the sequence of address accesses below,
enter the number of misses. 20 3 20 24 3 24
Answer: 3
Question 6: The pre-loading of instructions into a cache that follow the instruction currently being
executed is an example of what kind of locality? Dimensional Locality Temporal Locality Web Locality
Spatial Locality
Answer: Spatial Locality
Question 7: In a multilevel cache system, the primary (level-1) cache focuses on Short hit time Low miss
rate Short miss penalty Large block size
Answer: Short hit time
Question 8: A level 2 cache is focused on supporting what kind of locality? Temporal Locality
Dimensional Locality Web Locality Spatial Locality
Answer: Spatial Locality
Page 1