
Cache Memory Quiz
Authored by SMRUTHI NAIR
Engineering
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the primary purpose of cache memory?
To permanently store data
To act as a high-speed buffer between CPU and main memory
To replace the hard disk
To manage virtual memory
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which principle states that recently accessed data is likely to be accessed again soon?
Spatial Locality
Random Locality
Temporal Locality
Sequential Locality
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a direct-mapped cache, each main memory block maps to:
Any cache line
Exactly one specific cache line
A set of N cache lines
The first available cache line
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which cache write policy writes data to BOTH cache and main memory simultaneously?
Write-Back
Write-Once
Write-Through
Write-Allocate
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does a 'dirty bit' indicate in a cache line?
The data is corrupted
The data has been modified but not yet written to main memory
The cache line is empty
The data is read-only
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main disadvantage of the direct-mapped cache?
High hardware cost
Very slow access time
High conflict miss rate (thrashing)
Cannot store large data
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The cache replacement policy that evicts the line unused for the longest time is:
FIFO
LRU (Least Recently Used)
Random Replacement
MRU (Most Recently Used)
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?