Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please answer the following questions: 1. Give an example of an application that

ID: 3767865 • Letter: P

Question

Please answer the following questions:

1. Give an example of an application that could benefit from operating-system support for random access to indexed files.

(for 2 do not copy it directly from a online source unless it's exactly like this)

2. Answer this problem by assuming that there is no triple-indirect pointer and that the size of the disk blocks is 1KB (not KB8): Consider a file system that uses inodes to represent files. Disk blocks are 1 KB in size, and a pointer to a disk block requires 4 bytes. This file system has 12 direct blocks, as well as single, double, and triple indirect disk blocks. What is the maximum size of a file that can be stored in this file system.

Explanation / Answer

>An application that maintains a database of entries could benefit from such support.
>For instance, if a program is maintaining a student database, then accesses to the database cannot be modeled by any predetermined access pattern.
>The access to records are random and locating the records would be more efficient if the operating system were to provide some form of tree-based index