engineering computer science MCQ #240

What is the purpose of the 'dirty' bit in a cache?

engineering computer science MCQ #240

  1. Question 1

    Q1. What is the purpose of the 'dirty' bit in a cache?

    • A) To indicate that the cache line is valid
    • B) To indicate that the cache line has been modified
    • C) To indicate that the cache line is empty
    • D) To indicate that the cache line is being accessed

    Answer: To indicate that the cache line has been modified

    Explanation: The 'dirty' bit indicates that the cache line has been modified and needs to be written back to main memory.