Which statement about write-through and write-back caches is correct?

Correct answer D. Write-back updates memory only when a modified (dirty) block is evicted

Explanation

A write-back cache keeps writes in the cache and marks the block dirty; memory is updated only when that block is replaced, so repeated writes to one block cost one memory write. Write-through sends every store to memory (usually via a write buffer), keeping memory consistent but generating more traffic, and needs no dirty bit. Write-back is commonly paired with write-allocate.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.