WorksheetsModule 4: Quiz 2 Gururaj Surampalli
Total questions: 10
Worksheet time: 8mins
How can cache performance be improved?
Increasing cache size
Using a higher associativity
Reducing block size
Implementing efficient replacement algorithms
Which levels are part of the memory hierarchy?
Registers
Cache
Main memory
Secondary storage
Which protocols are used to maintain cache coherence in multiprocessor systems?
MESI (Modified, Exclusive, Shared, Invalid)
MSI (Modified, Shared, Invalid)
MOESI (Modified, Owner, Exclusive, Shared, Invalid)
MEI (Modified, Exclusive, Invalid)
What are the advantages of using virtual memory?
Increases available memory
Enables multi-tasking
Provides memory protection
Reduces context switching time
Which of the following are page replacement algorithms in virtual memory systems?
Least Recently Used (LRU)
First-In-First-Out (FIFO)
Optimal Page Replacement
Clock Algorithm
Which techniques are used for interrupt prioritization?
Fixed priority
Rotating priority
Dynamic priority
Round-robin scheduling
Which of the following are modes of DMA transfer?
Burst mode
Cycle stealing mode
Transparent mode
Block mode
Which mechanisms are typically used for bus arbitration?
Polling
Handshaking
Priority arbitration
Token ring
Which of the following policies deal with cache write misses?
Write-allocate
No-write-allocate
Write-through
Write-back
What are common cache replacement algorithms?
Least Recently Used (LRU)
First-In-First-Out (FIFO)
Random replacement
Optimal replacement
