5,597 views
4 votes
4 votes

Dirty bit is used to indicate which of the following?

  1. A page fault has occurred
  2. A page has corrupted data
  3. A page has been modified after being loaded into cache
  4. An illegal access of page

4 Answers

Best answer
12 votes
12 votes

Answer : A page has been modified after being loaded into cache Because

When a bit is modified by the CPU and not written back to the storage, it is called as a dirty bit. This bit is present in the memory cache or the virtual storage space.A dirty bit is a flag that indicates whether an attribute needs to be updated. Such situations usually occur when a bit in a memory cache or virtual memory page that has been changed by a processor but has not been updated in the storage.

selected by
4 votes
4 votes

A dirty bit or modify  bit is a bit that is associated with a block of computer memory and indicates whether or not the corresponding block of memory has been modified.The dirty bit is set when the processor writes to (modifies) this memory. The bit indicates that its associated block of memory has been modified and has not yet been saved  to storage.When a block of memory is to be replaced, its corresponding dirty bit is checked to see if the block needs to be written back to secondary memory before being replaced or if it can simply be removed. Dirty bits are used by the CPU cache and in the page replacement algorithm of an operation system.

Hence,Option(C)A page has been modified after being loaded into cache.

edited by
2 votes
2 votes

Option C will be correct option for it

  1. A page has been modified after being loaded into cache
  2. Dirty bit is used for write back policy.
1 votes
1 votes
C is the Answere as Dirty bit says, whether a page has been modified or not.
Answer:

Related questions

4 votes
4 votes
3 answers
1
7 votes
7 votes
3 answers
2
6 votes
6 votes
5 answers
3
neha singh asked Jun 21, 2016
8,531 views
What is the size of the physical address space in a paging system which has a page table containing 64 entries of 11 bit each (including valid and invalid bit) and a page...
8 votes
8 votes
3 answers
4
go_editor asked Jul 1, 2016
4,647 views
Which of the following is not an optimization criterion in the design of a CPU scheduling algorithm?Minimum CPU utilizationMaximum throughputMinimum turnaround timeMinimu...