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 long integer
-
a pointer data type
-
a pointer to BOF
-
a pointer to EOF
-
Authentication
-
Main
-
Web
-
File
-
None of these
D
Correct answer
Explanation
A file server is a computer responsible for the central storage and management of data files so that other computers on the same network can access them.
-
Files may share the same name or the same extension but not both
-
Every file in the same folder must have a unique name
-
File extension is another name for file type
-
The file extension comes before the dot (.) followed by the file name
-
None of these
D
Correct answer
Explanation
The file extension follows the dot (.) and indicates the file type; it does not come before the dot. The other statements are standard rules for file naming in most operating systems.
-
Files may share the same name or the same extension but not both
-
Every file in the same folder must have a unique name
-
File extension is another name for file type
-
The file extension comes before the dot (.) followed by the file name
-
None of these
D
Correct answer
Explanation
File extensions typically follow the dot (.) after the file name (e.g., document.docx). Option D incorrectly states that the extension comes before the dot.
-
updating
-
upgrading
-
restructuring
-
renewing
A
Correct answer
Explanation
File updating is the process of keeping a file current by adding new records, modifying existing ones, or deleting obsolete ones.
-
inverted organization
-
multi-list organization
-
regular organization
-
hierarchical organization
A
Correct answer
Explanation
An inverted file organization uses an index for every field, allowing for efficient searching and retrieval based on any attribute, not just the primary key.
-
inverted organization
-
multi-list organization
-
regular organization
-
hierarchical organization
C
Correct answer
Explanation
Regular or sequential file organization is the simplest form, where records are stored in a specific order, typically based on a key, without complex indexing.
-
Security software
-
Utility program
-
Networking software
-
None of the above
D
Correct answer
Explanation
Merging records from two files is a data processing task typically handled by custom scripts or specific data manipulation software, not a standard system utility.
A
Correct answer
Explanation
The java.io.File class provides a delete() method that can be used to delete the file or directory denoted by the abstract pathname.
-
�r�
-
�w�
-
�rw�
-
both (1) and (3)
D
Correct answer
Explanation
The RandomAccessFile class accepts 'r' for read-only and 'rw' for read-write access modes.
-
obj.seek(obj.length())
-
obj.seek(EOF())
-
seek(obj.length())
-
none of these
A
Correct answer
Explanation
To move the file pointer to the end, you use the seek() method with the length of the file as the argument.
D
Correct answer
Explanation
A flat directory structure is one where all files are located in the same directory, meaning there is only one level of organization.
-
single level
-
flat
-
hierarchical
-
none of these
C
Correct answer
Explanation
A hierarchical directory structure allows users to create sub-directories, enabling a tree-like organization of files.
-
stateless server
-
stateful server
-
both (1) and (2)
-
none of these