In the following sequence -r indicates that a block is read and -w indicates tha
ID: 3693786 • Letter: I
Question
In the following sequence -r indicates that a block is read and -w indicates that a block is written. A direct-mapped cache holds 4 blocks and write-back is done. Which describes the first write-back in the following sequence? The numbers are block numbers, not addresses, so block size is not considered in this question. 3-r, 7-w, 11-r, 11-w, 3-w Before block 7 is placed in the cache, block 3 needs to be written back to main memory On the second access to block 11, block 11 needs to be written back to main memory Before block 11 is placed ij the cache, block 7 needs to be written back to main memory On the second access to block3, block 11 needs to be written back to main memory.Explanation / Answer
Here in this case we have following option:
Before block 7 is placed in the cache, block 3 needs to be written back to main memory.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.