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 is part of 40000+ General Studies MCQ Series Course on GKToday Android app.

Question Number: 98 in General Studies Mock Test - 64 in above course in App.