Q. Which of these involves traversing the entire file system, marking everything that can be accessed?
Answer: Garbage collection
Notes: Garbage collection involves traversing the entire file system, marking everything that can be accessed. Then, a second pass collects everything that is not marked onto a list of free space. Garbage collection for a disk-based file system, however, is extremely time-consuming and is thus seldom attempted. Garbage collection is necessary only because of possible cycles in the graph.

This Question is Also Available in:

हिन्दी
This question has been sourced from GKToday's "40000+ GK / General Studies MCQs for SSC & State PCS Exams" App Exclusive Course in GKToday Android Application which provides more than 40K General Knowledge and General Studies questions with explanations asked in all Competitive Exams of India.
📌 Question Number: 98 in General Studies Mock Test - 64 in the above course in App.