Computer Knowledge
Computer File Systems
1,516 Questions
Computer file systems dictate how data is stored, organized, and retrieved on storage devices. Important concepts include file allocation tables, access mechanisms, and various formats like sequential and video files. Candidates preparing for banking and government exams should practice these fundamentals thoroughly.
File access mechanismsVideo and password filesFile extensionsFile allocation tableSystem metadata
Computer File Systems Questions
A
Correct answer
Explanation
The MOVE method is used to move a file to a different location on the server. While not part of standard HTTP/1.1, it is defined in WebDAV (Web Distributed Authoring and Versioning) extensions for file management.
-
file
-
directory
-
subdirectory
-
subfile
B
Correct answer
Explanation
Every directory in MS-DOS contains two special entries: '.' (current directory) and '..' (parent directory), which are called directory markers. These cannot be deleted as they are essential for directory navigation. Files do not have these markers.
-
A backup set consists of one or more files.
-
In this backup, RMAN only records backup sets in the repository that complete successfully.
-
In this backup, RMAN also supports binary compression of backup sets.
-
All of the above
-
Both (1) and (3)
D
Correct answer
Explanation
These are the correct statements about Backup Sets in RMAN backup.
A
Correct answer
Explanation
The .ppt extension is the standard file format for Microsoft PowerPoint presentations. While .pps exists for PowerPoint Show, .ppt is the primary editable format.
B
Correct answer
Explanation
This extension is used by executable file.
-
An application program
-
The function of the Application Layer
-
A protocol of the Application Layer
-
A web application
B
Correct answer
Explanation
File transfer is a function of the Application Layer (Layer 7) in the OSI model. Protocols like FTP operate at this layer to enable file transfer between systems, making 'the function of the Application Layer' the correct interpretation.
-
Structures
-
Arrays
-
Variables
-
Files
D
Correct answer
Explanation
Files are used for permanent storage of data in computer systems. While variables, arrays, and structures store data temporarily in RAM (volatile memory), files store data on secondary storage devices (hard disks, SSDs) which retain data even when power is turned off (non-volatile). This makes files suitable for long-term data persistence.
-
a stream pointer
-
a buffer pointer
-
a pointer to a file data type
-
all of the above
-
a text stream
-
a binary stream
-
both 1 and 2
-
an I/O operation
C
Correct answer
Explanation
In C and many programming languages, I/O streams can be configured as either text streams (performing newline translation and other text-specific processing) or binary streams (performing no such transformations, reading/writing raw bytes). The distinction is fundamental to file I/O operations.
D
Correct answer
Explanation
The linker takes object files (.obj or .o) produced by compilers and combines them into a single executable file (.exe on Windows, no extension on Unix). It resolves external references between object files and assigns final memory addresses. The linker produces the final executable that can be run directly.
-
ISAM
-
VSAM
-
Sequential
-
B-Tree index
-
None of these
C
Correct answer
Explanation
Sequential file organizations are efficient ways for the selection of files or loading data from servers with a high degree of file activity.
-
8
-
255
-
Any number of characters
-
None of the above
A
Correct answer
Explanation
Traditional DOS uses the 8.3 file naming convention - up to 8 characters for the filename and exactly 3 characters for the extension. This limitation was a defining characteristic of DOS file systems. Modern systems support longer filenames.
-
Dir ?B*.*
-
Dir?B?.
-
Dir*B*.*
-
None of the above
B
Correct answer
Explanation
The pattern '?B?.' matches files with at least 3 characters where the second character is 'B'. The first '?' matches any single character at position 1, 'B' matches position 2, the second '?' ensures position 3 exists (making it at least 3 chars), and '*' matches any remaining characters.