Correct option is A
Important Key Points:
1. Dirty bits help optimize the paging process by avoiding unnecessary writes of unmodified pages to the disk.
2. When a page with a dirty bit is replaced, the operating system ensures the updated data is saved to disk.
3. Dirty bits are essential for maintaining data consistency in virtual memory systems.
Knowledge Booster:
· Pages that are currently in use in memory: Pages in use are identified using reference bits, not dirty bits.
· Pages that are swapped out to disk: Pages swapped out to disk are tracked using page tables, not dirty bits.
· Pages that are read-only in memory: Read-only pages do not involve dirty bits as they are not modified.
· Pages that are not loaded in memory: Pages not loaded in memory are not relevant to the dirty bit mechanism.

