22.3k views
1 vote
2) A simple operating system supports only a single directory but allows it to have arbitrarily many files with arbitrarily long file names. Can something approximating a hierarchical file system be simulated

1 Answer

6 votes

Answer:

Yes it can

Step-by-step explanation:

The answer is Yes something approximating a hierarchical file system can be simulated. A way to carry out this simulation is through appending to each file name the name of the directory that contains it. But an offside to it is that it may end up becoming too complex to manage because the file name may be too long.

User Ruehri
by
5.6k points