Computer Knowledge

Computer File Systems

1,249 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. include <myheader.h><myheader.h></myheader.h>

  2. include <myheader.h><myheader.h></myheader.h>

  3. include C:myheader.h

  4. include "C:myheader.h"

  5. main (C:myheader.h)

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

This the correct way to include the user defined header files in a program code. Here the header file is saved at root directory (C:).

Multiple choice
  1. File allocation table

  2. Directory

  3. Sequential access

  4. Direct access

  5. None of the above

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

Yes, it is the correct choice . A table that the operating system uses to locate files on a disk. Due to fragmentation, a file may be divided into many sections that are scattered around the disk. The FAT keeps track of all these pieces.

Multiple choice
  1. <span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times" new="">eofbit

  2. <span style="font-size:11.0pt;line-height:115%;font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:"Times" new="">failbit

  3. badbit

  4. goodbit

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

This option is correct because the value of “failbit” is 1, when a non-fatal I/O error is encountered.

Multiple choice
  1. Disk formatting utility

  2. Data compression utility

  3. Data backup utility

  4. None of these

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

This is an utility program a user has to use if he has to transform files into a fraction of their normal sizes, so that they occupy less storage space on disk.

Multiple choice
  1. It uses indexed colour.

  2. It contains more colours than a JPEG image.

  3. It was the one of the image format used on the web.

  4. It is a lossless format.

  5. None of the above

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

Graphics Interchange Format, GIF are based on indexed colors which is a palette of at most 256 colors.  It doesn't contain more colours than a JPEG image because JPEG is not restricted certain amount of colours like GIF. 

Multiple choice
  1. It is a format of video file.

  2. It is a format of audio file.

  3. It is a format of image file.

  4. It is a format of web page.

  5. It is a format of text file.

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

MIDI is a format of audio file, which has an extension, that is .mid.