Share
Explore BrainMass

Opening a file: Automatic or Traditional Method

Some systems automatically open a file when it is referenced for the first time and close the file when the job terminates. Discuss the advantages and disadvantages of this scheme compared with the more traditional one, where the user has to open and close the file explicitly.

Solution Preview

Welcome to Brainmass!! I have outlined the major advantages and disadvantages of the automatic versus the traditional methods of opening and closing a file. I have also included some key terms at the end that might further aid in your understanding of the topic.

Some systems automatically open a file when it is referenced for the first time and close the file when the job terminates. Discuss the advantages and disadvantages of this scheme compared with the more traditional one, where the user has to open and close the file explicitly?

Let's look at each of these two schemes separately in order to create a better understanding of how one might be different or better than the other.

Scenario I - Automatically open a file:
?Files are organized in bytes (one dimensional array) in the operating systems. The format is dictated by the file extension ...

Solution Summary

The solution lists the advantages and the disadvantages of the two methods to open a file - the automatic way and the traditional method.

$2.19