FC0-U71 practice question 17 of 25

Which of the following is the most important consideration when opening a file on an OS GUI?

Full set: 171 questions

Domain Technology Fundamentals

Answer options
A: File extension Correct answer
B: Default permissions
C: Backup policy
D: Data compression
Correct Answer:
A. File extension
Explanation

When a user interacts with a file in a Graphical User Interface (GUI), the operating system primarily uses the file extension to determine the file's type. This mechanism, known as file association, links specific extensions (e.g., .docx, .pdf, .jpg) to default applications (e.g., Microsoft Word, Adobe Reader, Photos). This association is the most important consideration for the OS to know which program to launch to correctly interpret and display the file's contents. Without this information, the OS would not know how to handle the user's request to open the file.

Why Incorrect

B. Default permissions: Permissions dictate if a user has the right to access a file, not which application should be used to open it.
C. Backup policy: A backup policy is a data protection strategy and is entirely unrelated to the real-time process of opening a file via the GUI.
D. Data compression: While a file might be compressed, the OS still relies on the file extension (e.g., .zip) to associate it with the appropriate decompression utility.

References

1. O'Hallaron, D. R., & Bryant, R. E. (2015). Computer Systems: A Programmer's Perspective (3rd ed.). Pearson. In Chapter 10, "System-Level I/O," the text discusses file types, noting that systems like Windows use file extensions to associate files with specific applications. (Section 10.2, Files).

2. Arpaci-Dusseau, R. H., & Arpaci-Dusseau, A. C. (2018). Operating Systems: Three Easy Pieces. Arpaci-Dusseau Books. In Chapter 39, "File and Directories," the authors explain file naming conventions, stating, "some systems use the last part of a file name (the suffix) to indicate the type of the file... For example, foo.c indicates a C source file... On some systems, this information is used to automatically launch the correct application." (Section 39.3, Creating Files).

3. University of California, Berkeley. (2023). CS 162: Operating Systems and Systems Programming, Lecture 15: File Systems. The course material explains that one way to implement file types is by encoding the type in the file name itself, specifically the extension. It notes this method is used by MS-DOS and Windows to select the correct application for opening the file. (Slide 11, "File Types - Name").

Scroll to Top