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 linux
  1. 8

  2. 11

  3. 256

  4. 512

  5. Unlimited

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

Most modern Linux filesystems (like ext4) support filenames up to 255 or 256 characters. This is a significant improvement over older systems like DOS (8.3 format). Option 3802 (256) is the standard limit for the length of a single filename component.

Multiple choice networking
  1. named.local

  2. named.ca

  3. named.boot

  4. named.conf

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

The named.ca file contains the addresses of root name servers that DNS resolvers need to bootstrap the resolution process. BIND uses this file to initialize its cache with root server information. Without it, DNS resolvers cannot begin recursive queries.

Multiple choice php
  1. True

  2. False

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

PHP include files can have any extension - .inc, .php, .txt, or no extension at all. The .inc extension is a convention but not a requirement. What matters is that the file contains valid PHP code. Using .php is often more secure since web servers won't display the source code.

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 server
  1. Full control to the administrators group

  2. Full control to the users group

  3. Full control to the everyone group

  4. Full control to the global group

  5. Full control to the local group

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

Windows NT 4.0 defaulted shared folder permissions to 'Everyone - Full Control' for ease of setup, though this created significant security risks. Share permissions were separate from NTFS file permissions, and the more restrictive of the two would apply.

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 server windows-2003
  1. Normal backup.

  2. Differential backup.

  3. Incremental backup.

  4. Copy backup.

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

Incremental backup only saves files changed since the last backup (whether full or incremental), using the least storage space. Differential backup also saves only changed files but since the last full backup, requiring more media over time as changes accumulate. The question asks for minimum media usage across multiple backups, making incremental the correct choice.

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.