Suppose we have a file system with a contents area of 32 sectors, where each cluster is 4 sectors.
The following modifications are done to the file system:
- created a.txt (1 sector)
- created b.doc (size: 9 sectors)
- created c.txt (size: 4 sectors)
- deleted a.txt
- deleted c.txt
- created d.doc (10 sectors)
Draw the Contents Area under the follow allocation strategy:
a) First available
b) Next available
c) Best fit (using First available strategy)
d) Best fit (using Next available strategy)
What to hand in
Submit your solution electronically through D2L.
Sample Solution