1. The open-file table is used to maintain information about files that are currently open. Should the operating system maintain a separate table for each user or maintain just one table that contains references to files that are currently being accessed by all users? If the same file is being accessed by two different programs or users, should there be separate entries in the open-file table? Explain.
2. What are the advantages and disadvantages of providing mandatory locks instead of advisory locks whose use is left to users' discretion?
3. Provide examples of applications that typically access files according to the following methods:
• Sequential
• Random