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. clearerr()

  2. fseek()

  3. ferror()

  4. feof()

  5. setvbuf()

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

clearerr() resets both the EOF and error indicators on a stream, allowing further I/O operations. fseek() only clears EOF on some implementations, not errors. feof() and ferror() only test conditions. setvbuf() controls buffering. Only clearerr() explicitly resets error/EOF states.

Multiple choice
  1. WRD

  2. TXT

  3. DOC

  4. FIL

  5. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

.doc was the standard file extension for Microsoft Word documents from 1997 to 2003. While newer versions use .docx, .doc remains the most common legacy extension associated with the program.

Multiple choice
  1. Device letter

  2. Folder

  3. Filename

  4. Filename extension

  5. None of these

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

A filename is the unique name assigned to a file to identify it within a computer's file system. The extension (like .txt) identifies the type, but the filename itself is the unique identifier given by the user.

Multiple choice
  1. Sequential

  2. Transaction

  3. Random

  4. Serial

Reveal answer Fill a bubble to check yourself
B Correct answer
Explanation

A transaction file contains temporary data representing recent events or changes that are used to update a permanent master file. Sequential, random, and serial refer to file access methods rather than the purpose of the file in an update cycle.

Multiple choice
  1. 8 primary and 3 extension

  2. 12 primary and 2 extension

  3. 10 primary and 3 extension

  4. 9 primary and 3 extension

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

The 8.3 filename convention was a standard in MS-DOS, allowing for a primary filename of up to 8 characters and an optional extension of up to 3 characters.