3. Describe the effects of a corrupted data block for a given file for: (a) cont
ID: 3834574 • Letter: 3
Question
3. Describe the effects of a corrupted data block for a given file for: (a) contiguous (b) linked (c) indexed (or table based)
4. Consider a file whose size varies between 4 KB and 4 MB during its lifetime. Which of the three allocation schemes (contiguous, linked and table/indexed) will be most appropriate?
6. Consider a 4-TB disk that uses 4-KB blocks and the free-list method. How many block addresses can be stored in one block?
9. For an external USB hard drive attached to a computer, which is more suitable: a write- through cache or a block cache? Explain.
10. Consider an application where students’ records are stored in a file. The application takes a student ID as input and subsequently reads, updates, and writes the corresponding student record; this is repeated till the application quits. Would the "block read- ahead" technique be useful here? Why or why not?
Explanation / Answer
4)
Answer:
Since size is varying contigous can be ruled out as variation in that scheme is tough
Linked allocation most appropriate as in indexed scheme index table management would be tough..