Cache Memory Quiz by CA-Learning

What is a block?
A section of data within cache memory.
A section of data within main memory.
A section of data within secondary memory.
A section of data within the register..
What is a line?
A section of data within cache memory.
A section of data within main memory.
A section of data within secondary memory.
A section of data within registers.
What is a cache hit?
When a word request is made
When cache mapping is successful.
When the word requested is found in cache.
When page mapping is successful.
What is a cache miss?
When a word is not found in the CPU.
When the cache word request is unsuccessful.
When a cache request is missed.
When the word requested is not found in cache.
How do you calculate the cache hit ratio?
Hit ratio = cache hits / (total cache hits + total cache misses)
Hit ratio = cache hits / cache misses
Hit ratio = cache misses / cache hits
Hit ratio = cache hits / total cache hits + cache misses
The physical address size of a block in direct mapping is the same as the cache address size.
True
False
The block size in direct mapping is equal to line size.
True
False
What is an advantage of fully associative mapping?
It is resource efficient. I.e inexpensive
It is straight forward and simple.
There are no conflicts.
It has the greatest access time.
1 Petabyte = 2^60 Bytes
True
False
Consider a machine with a byte addressable main memory of 2^32 bytes divided into blocks of size 32 bytes. Assume that a direct mapped cache having 512 cache lines is used with this machine. The size of the tag field in bits is ______.
18 bits
20 bits
32 bits
16 bits
{"name":"Cache Memory Quiz by CA-Learning", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"What is a block?, What is a line?, What is a cache hit?","img":"https://www.quiz-maker.com/3012/images/ogquiz.png"}
Make your own Survey
- it's free to start.