Saturday, November 24, 2007

IS215 - File and Disk Management Exercises - 1

1. What is a file? Describe the three most common file organizations.

2. What is a file descriptor? What is a file directory? What is the relationship between the two?

3. What is the difference of a tree-structured directory structure from an acyclic directory structure?

4. Suppose a computer system will be used for software development of a programming team.

a) What directory system is suited for this type of system?
b) What file protection scheme is needed to satisfy the needs of the users?
c) What file access methods should be supported?
d) What file allocation method should be used?

Answer the same questions for system intended as an automated teller machine (ATM).

5. Identify the minimal operations on files that will allow all other operations to be simulated using the operations in the minimal set operations.

6. One way of protecting the file system is through the use of passwords. Why is this method not used anymore in most modern operating systems?

7. Outline a method of protecting the files of a user in a multi-user operating system. The method should allow others to access the files of the user if he allows it.

8. What are the advantages of direct access to files over the sequential access to files? Are both access methods really necessary in an operating system?

9. What is the difference between sector and block file allocation methods? Is there a situation where both methods are one and the same?

10. What is the problem in contiguous allocation method that is solved by the linked allocation method?

No comments: