Which of the following best defines a file in an operating system?
Options
- A. A collection of related data stored under a name
- B. A physical CPU register
- C. A temporary CPU scheduling queue only
- D. More than one of the above
- E. None of the above
Quiz Practice:
A. A collection of related data stored under a name
Explanation: A file is a named collection of related information stored on secondary storage. Files may contain text, programs, images, databases or other types of data. The operating system provides mechanisms for creating, reading, writing and managing files.