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

Multiple choice
  1. PNG

  2. JPEG

  3. GIF

  4. None of these

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. truncating a file

  2. deleting a file

  3. reading a file

  4. writing a file

  5. creating a file

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Single level directory

  2. Two-level directory

  3. Tree structure directories

  4. Directory

  5. File

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. an Audio File Format

  2. a Video File Format

  3. an Image File Format

  4. a Word Document

  5. a Portable Document Format

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. file updating

  2. file upgrading

  3. file restructuring

  4. file renewing

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. can be accessed only by one user

  2. can be modified by user with correct password

  3. is used to hide sensitive information

  4. none of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. to update files

  2. to print files on paper

  3. for data entry

  4. none of the above

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Log File

  2. Master File

  3. Specialized File

  4. Update File

Reveal answer Fill a bubble to check yourself
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.

Multiple choice
  1. Stdout and stderr

  2. Console and error

  3. Stdout and stdio

  4. Stdio and stderr

  5. Errout and conout

Reveal answer Fill a bubble to check yourself
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.