engineering computer science MCQ #269

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

engineering computer science MCQ #269

  1. Question 1

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

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

    Answer: To indicate that a cache line has been modified

    Explanation: The 'dirty' bit is set when a cache line is modified, indicating that it must be written back to main memory when it is replaced.