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
D
Correct answer
Explanation
This extension is used by sheet file type.
-
PNG
-
JPEG
-
GIF
-
None of these
A
Correct answer
Explanation
PNG (Portable Network Graphics) uses lossless compression, preserving all image quality without artifacts. It's superior to JPEG (lossy) for graphics with sharp edges, text, or limited colors, and more efficient than GIF for most uses while supporting alpha transparency.
-
truncating a file
-
deleting a file
-
reading a file
-
writing a file
-
creating a file
A
Correct answer
Explanation
This is the operation performed on a file in which the file attributes are not changed but the file has a reduced size because the user deletes information in the file.
-
Single level directory
-
Two-level directory
-
Tree structure directories
-
Directory
-
File
C
Correct answer
Explanation
This directory structure is the one in which directory is a tree of height two with the master file directory at the root having user directories as descendants.
A
Correct answer
Explanation
Pressing this key, facilitates saving the file under a different name.
-
an Audio File Format
-
a Video File Format
-
an Image File Format
-
a Word Document
-
a Portable Document Format
B
Correct answer
Explanation
Actually file name with .WebM extension is a Video File format intended primarily for royalty-free use in the HTML5 video tag. So, this option is correct.
-
Flat
-
Dump
-
Redo log
-
Metadata
-
Data mining
B
Correct answer
Explanation
These files in oracle contain specific format.
-
ios::in
-
ios::out
-
ios::trunc
-
ios::ate
-
ios::binary
D
Correct answer
Explanation
This file mode is used in C++ to write all the data at the end of the file.
-
UPLOAD_ERR_PARTIAL
-
UPLOAD_ERR_FORM_SIZE
-
UPLOAD_ERR_NO_FILE
-
UPLOAD_ERR_OK
-
$_POST[]
B
Correct answer
Explanation
This constant represents that the size of the uploaded files exceeded the value of the special form field MAX_FILE_SIZE.
-
file updating
-
file upgrading
-
file restructuring
-
file renewing
A
Correct answer
Explanation
File updating refers to the ongoing process of maintaining files by periodically adding new records, changing existing records, and deleting obsolete records. This is a fundamental operation in file-based systems to ensure data remains current and accurate over time.
-
can be accessed only by one user
-
can be modified by user with correct password
-
is used to hide sensitive information
-
none of the above
A
Correct answer
Explanation
A locked file can be accessed by only one user at a time to prevent concurrent modifications that could corrupt data or cause inconsistencies. Other users must wait for the lock to be released.
-
to update files
-
to print files on paper
-
for data entry
-
none of the above
B
Correct answer
Explanation
A report generator produces formatted output from database data, typically for printing reports. Option A is incorrect because report generators read data rather than update files. Option C refers to data entry which is a separate input function.
-
Log File
-
Master File
-
Specialized File
-
Update File
B
Correct answer
Explanation
A master file contains permanent, relatively stable data that persists over time and serves as the primary reference for an organization's operations. Examples include customer master files, product inventory files, and employee records. Unlike temporary files (logs, updates), master files are perpetual and continuously updated with valid changes rather than being recreated periodically.
-
Stdout and stderr
-
Console and error
-
Stdout and stdio
-
Stdio and stderr
-
Errout and conout
A
Correct answer
Explanation
Standard C defines three predefined FILE pointers: stdin, stdout, and stderr. Option A correctly identifies stdout and stderr. 'Console', 'error', 'stdio', 'errout', and 'conout' are not standard predefined FILE pointers in C.
-
f == EOF
-
feof( f )
-
eof( f )
-
f == NULL
-
!f