Module 9, 10 - Memory, Multiprocessing Flashcards
Large-scale, long term storage is typically implemented with what kind of memory technology?
Disk Does not matter. Flash SRAM DRAM
Disk
In the memory hierarchy design, what type of memory should be placed close to the CPU? Disk Flash SRAM Does not matter. DRAM
SRAM
Which of the following types of memory are generally used for the intermediate results of calculations? Disk DRAM SRAM Does not matter. Flash
SRAM
You are designing an internet router that will need to save it’s settings between reboots. Which type of memory should be used to save these settings?
DRAM Flash Does not matter. Disk SRAM
Flash
Which of the following types of memory are used to store data and/or instructions? Flash DRAM SRAM Does not matter. Disk
DRAM
What types of locality are used in memory design? Select all that apply. Web locality Spatial locality Pipelined locality Temporal locality
Spatial locality
Temporal locality
The pre-loading of instructions into a cache that follow the instruction currently being executed is an example of what kind of locality?
Temporal Locality
Spatial Locality
Web Locality
Dimensional Locality
Spatial Locality
The instructions that make up a loop that is currently executing are loaded into an array. This is an example of what kind of locality?
Temporal Locality
Dimensional Locality
Spatial Locality
Web Locality
Temporal Locality
A level 1 cache is focused on supporting what kind of locality? Dimensional Locality Temporal Locality Web Locality Spatial Locality
Temporal Locality
An element in an array is accessed in memory. The pre-loading of other data in that array is an example of what kind of locality? Dimensional Locality Temporal Locality Spatial Locality Web Locality
Spatial Locality
Given an 8-word, 4-way set associative cache, and the sequence of address accesses below, enter the number of misses. 12 14 11 14 14 19
4
Given an 8-word, 4-way set associative cache, and the sequence of address accesses below, enter the number of misses. 7 12 7 12 2 8
4
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
3
Given an 8-word, 2-way set associative cache, and the sequence of address accesses below, enter the number of misses. 8 8 8 8 8 20
2
Given an 8-word, 2-way set associative cache, and the sequence of address accesses below, enter the number of misses. 14 19 6 19 12 19
4