Sail E0 Webinar
Question
______ involves traversing the entire file system, marking everything that can be accessed.
Options:
A .  File system
B .  Index pointer
C .  Garbage collection
D .  Stack pointer
Answer: Option C
Answer: (c)
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.

Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers