Derived Channel
1.54K subscribers
252 photos
4 videos
374 files
68 links
القناة الأساسية
@stepbystep001

ومـما زادني شـرفـاً وتـيــهـاً
وكدت بأخمصي أطأ الـثريا
دخولي تحت قولك يا عبادي
وأن صـيَّرت أحمد لي نـبيـا
Download Telegram
Main memory and cache can transfer data between each other
Anonymous Quiz
86%
T
14%
F
After the processor issues load request to cache, it compares request address to … & see if there’s a match
Anonymous Quiz
74%
cache tags
26%
block offsets
Read block of data from main memory
Anonymous Quiz
26%
Cache hit
74%
cache miss
Replace victim block of cache with new block
Anonymous Quiz
32%
cache hit
68%
cache miss
After comparing the request address to cache tag it immediately returns a copy of data from cache
Anonymous Quiz
83%
cache hit
17%
cache miss
found in cache
Anonymous Quiz
97%
cache hit
3%
cache miss
not in cache
Anonymous Quiz
1%
cache hit
99%
cache miss
After comparing the request address to cache tag it reads block of data from main memory then replace victim block in cache with new block and finally returns a copy of data from cache
Anonymous Quiz
25%
cache hit
75%
cache miss
A …. holds commonly used memory data
Anonymous Quiz
7%
Register
79%
cache
10%
Main memory
4%
Disk
The number of data words that it can hold is called the
Anonymous Quiz
13%
capacity
10%
size
72%
both are correct
5%
dense
cache has a zero miss rate
Anonymous Quiz
17%
expensive cache
78%
ideal cache
6%
inexpensive cache
Because it is impossible to predict the future with perfect accuracy, the cache must guess what data will be needed based on the past pattern of memory accesses
Anonymous Quiz
95%
T
5%
F
The cache exploits …. to achieve a low miss rate
Anonymous Quiz
6%
temporal locality
4%
spatial locality
88%
Both of them
2%
Neither of them
means that the processor is likely to access a piece of data again soon if it has accessed that data recently
Anonymous Quiz
87%
temporal locality
13%
spatial locality
when the processor loads or stores data that is in the cache, the data is copied from main memory into the cache
Anonymous Quiz
66%
T
34%
F
means that, when the processor accesses a piece of data, it is also likely to access data in nearby memory locations
Anonymous Quiz
10%
temporal locality
90%
spatial locality
when the cache fetches one word from memory, it may also fetch several adjacent words
Anonymous Quiz
25%
temporal locality
75%
spatial locality
when the processor loads or stores data that is not in the cache, the data is copied from main memory into the cache
Anonymous Quiz
78%
temporal locality
22%
spatial locality
several adjacent words are called
Anonymous Quiz
69%
cache line
31%
memory block
The number of words in the cache line, is called the
Anonymous Quiz
81%
line size
19%
block size
The address of the data in the cache is the same as the main memory address
Anonymous Quiz
29%
T
71%
F