edited by
6,950 views
3 3 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
9 9 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 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 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.
Answer:
Position:
Show:

Related questions

9 9 votes
4 answers 4 answers
8.9k
8.9k views
Abhi Vs Abhi asked May 18, 2016
8,944 views
Using the page table shown below, translate the physical address 25 to virtual address. The address length is 16 bits and page size is 2048 words while the size of the ph...
6 6 votes
5 answers 5 answers
13.3k
13.3k views
neha singh asked Jun 21, 2016
13,311 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...
5 5 votes
3 answers 3 answers
6.1k
6.1k views
go_editor asked Jul 1, 2016
6,117 views
A computer has 16 pages of virtual address space but the size of main memory is only four frames. Initially the memory is empty. A program references the virtual pages in...
10 10 votes
6 answers 6 answers
10.1k
10.1k views
sourav. asked Jul 3, 2016
10,086 views
Let the page fault service time be $10$ ms in a computer with average memory access time being $20$ ns. If one page fault is generated for every $10^6$ memory accesses, w...