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 php
  1. <!--include file="time.inc"-->

  2. <?php include_file("time.inc"); ?>

  3. <?php require("time.inc"); ?>

  4. <% include file="time.inc" %>

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

The require() function includes a file and produces a fatal error if the file cannot be included. Option A uses HTML comment syntax (invalid for PHP), Option B uses a non-existent function include_file(), and Option D uses ASP syntax (<% %>). The correct PHP syntax is require() or include().

Multiple choice web-design
  1. JPG's render true color poorly at some screen resolutions, whereas GIFs do not.

  2. The GIF file format is tailored to the Internet, whereas the JPG was developed for storage only.

  3. The file compression features of the JPG format may render the fonts unreadable.

  4. JPG's are about three times the size of GIFs and therefore take more time to render in a browser.

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

JPG uses lossy compression that can cause artifacts around sharp edges like text, potentially making fonts unreadable. GIF uses lossless compression optimized for graphics with solid colors and sharp edges, making it better for text-containing images. Option A is incorrect because JPG renders true color well, and option D is wrong because GIFs are often smaller than JPGs for simple graphics.

Multiple choice server windows-2003
  1. The original folder is not shared anymore, but the copy is shared.

  2. The original folder as well as the copy is shared.

  3. The original shared folder is still shared, but the copy is not shared.

  4. The original shared folder and the copy both are not shared anymore.

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

In Windows Server 2003, copying a shared folder does not copy the share permissions or settings. The original folder retains its shared status, but the new copy is created as a regular folder without sharing enabled. You must manually share the copied folder if needed.

Multiple choice cobol
  1. Any part of the file section

  2. Any part of the working-storage section

  3. Any part of the data division

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

In COBOL, 77-level entries are elementary items that can appear anywhere in the DATA DIVISION. The File Section and Working-Storage Section are subdivisions within the Data Division, so restricting to 'any part' would be incorrect. 77-level items have the broadest placement scope within the entire Data Division.

Multiple choice knowledge
  1. difficult to update

  2. lack of data independence

  3. data redundancy

  4. program dependence

  5. all of above

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

File management systems suffer from all these problems: they are difficult to update, lack data independence (programs must know data structure), have data redundancy (same data stored in multiple files), and show program dependence (changes require program updates).

Multiple choice unix
  1. mv filename

  2. cp filename

  3. rm filename

  4. rm -rf *

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

The 'rm filename' command removes (deletes) a single file. 'mv' moves/renames files, 'cp' copies files, and 'rm -rf *' recursively deletes ALL files and directories in the current location - a dangerous command unrelated to deleting a single file.

Multiple choice unix
  1. mv oldfilename newfilename

  2. touch oldfilename newfilename

  3. cp oldfilename newfilename

  4. rm -rf *

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

The 'mv oldfilename newfilename' command renames a file by moving it to a new name in the same directory. 'cp' copies files, 'touch' creates empty files, and 'rm -rf *' deletes everything. The mv command serves dual purpose: moving files between directories OR renaming within the same directory.

Multiple choice general knowledge
  1. Temp file

  2. Raw file

  3. Permanent file

  4. Zip file

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

A raw file is data that has not been processed, compressed, or manipulated by the computer - it's in its original, unaltered state. Raw files contain direct data from a device like a camera or sensor without any modifications. Temp files are temporary storage, permanent files are meant to be kept, and zip files are compressed archives.

Multiple choice general knowledge
  1. Comma-Separated Values

  2. Comma-Specific Values

  3. Comman-Separated Values

  4. Comman-Specific Values

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

CSV stands for Comma-Separated Values, a file format for tabular data where values are separated by commas. Option A is correct. Options B, C, and D use incorrect terms Specific and the typo Comman.

Multiple choice general knowledge
  1. Temp file

  2. Raw file

  3. Permanent file

  4. None

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

A raw file is unprocessed data that hasn't been altered, compressed, or manipulated by the computer. Raw files contain direct, unmodified data from sensors or sources. Temporary files are for short-term storage, permanent files are meant for long-term retention, and 'None' doesn't describe a file type.