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 technology operating systems
  1. /home is still mounted

  2. /var is 100% full

  3. A user is editing a file residing in /home

  4. /tmp is 100% full

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

When expanding a filesystem using chfs, AIX requires space in /tmp for temporary files. If /tmp is 100% full, the chfs command will fail even if the target filesystem (/home) has space issues. This is a common AIX filesystem administration gotcha.

Multiple choice technology operating systems
  1. The /fstest filesystem is out of space

  2. The volume group containing the file system is not imported.

  3. The /fstest directory has been removed.

  4. A user is logged into the /fstest filesystem.

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

The mount point directory /fstest must exist before mounting. The error explicitly states a path component doesn't exist, which directly points to a missing directory. Out of space would return different errors (ENOSPC), and a logged-in user wouldn't block mounting.

Multiple choice technology programming languages
  1. Branching

  2. Merging

  3. Annotate

  4. History

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

Branching preserves the complete history of files and folders because when you create a branch, TFS maintains the entire version history up to that branch point. You can view the full historical context in the new branch. Merging combines changes but doesn't create the historical record, Annotate shows per-line history, and History is a view command.

Multiple choice technology security
  1. I only

  2. I and ii only

  3. I, ii and iii only

  4. I and iii only

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

Proper information handling requires: (i) sharing files only with authorized personnel using proper rights management (RMS ensures this), and (ii) declaring media before moving it in/out of office premises for audit purposes. Option iii is incorrect because confidential printed files must be disposed securely (shredding or secure bins), NOT in regular trash where they could be retrieved. The claimed answer B (I and ii only) correctly excludes the incorrect option iii.

Multiple choice technology operating systems
  1. find -mtime -24

  2. find -mday -1

  3. find -mday +1

  4. find -mtime -1

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

The find -mtime -1 command finds files modified less than 1 day ago (within the last 24 hours). The -mtime option uses days, where negative values mean less than and positive values mean more than. Option A is incorrect because -mtime uses days not hours. Option B uses the non-existent -mday option. Option C with +1 would find files modified MORE than 1 day ago.

Multiple choice technology operating systems
  1. using the temp filed in the file's inode

  2. using the id filed in the file's inode

  3. using the type filed in the file's inode

  4. using the type filed in the directory's inode

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

The kernel uses the 'type' field in the file's inode to distinguish between ordinary files and device files. Each inode contains a type field that identifies whether the file is a regular file, directory, character device, block device, symbolic link, etc. Option A (temp field) and B (id field) don't exist for this purpose. Option D is wrong because the type is in the file's inode, not the directory's.

Multiple choice technology platforms and products
  1. jpeg

  2. png

  3. tiff

  4. None of these

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

TIFF (Tagged Image File Format) is the standard format for document scanning in enterprise environments because it supports lossless compression, multi-page documents, and is widely compatible with archival systems. JPEG and PNG are more commonly used for photos and web graphics, not document archival.

Multiple choice technology operating systems
  1. True

  2. False

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

Linux and UNIX filesystems are case-sensitive, meaning 'File.txt', 'file.txt', and 'FILE.TXT' are treated as three distinct files. This is a fundamental characteristic of Unix-like operating systems, inherited from their design philosophy.

Multiple choice technology platforms and products
  1. $InputFile
  2. $Input_File
  3. $Input$File
  4. $Input File
Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In Informatica PowerCenter and similar ETL tools, parameter names for file handling follow the convention of starting with $ followed by the parameter name without spaces or special characters (except underscore at the end for some metadata parameters). $InputFile is the correct convention. $Input_File uses an underscore in the middle which is not standard for file parameter naming. $Input$File has a dollar sign in the middle which is invalid. $Input File contains a space which is not allowed in parameter names.

Multiple choice technology platforms and products
  1. Relational

  2. File

  3. Xml

  4. Binary

  5. All the above

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

Error logs in Informatica can be written to different storage types. Relational error logs store error information in database tables for structured querying and analysis. File-based error logs write errors to flat files (text, CSV) for portability and external processing. XML (C) and Binary (D) are not standard error log types - error logs are typically written in readable formats for debugging.

Multiple choice technology platforms and products
  1. Event raise

  2. File watch

  3. Pre-defined Event

  4. User defined event

  5. None of the above

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

Events are categorized into pre-defined events (built into the system) and user-defined events (created by developers). 'Event raise' and 'File watch' are not event types but operations or mechanisms, not categories.

Multiple choice technology
  1. .msi

  2. .mst

  3. .zap

  4. .aas

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

The .msi (Microsoft Installer) extension is the standard file format for Windows Installer setup packages. These files contain installation information and are used by the Windows Installer service to install applications. .mst files are transform files used to modify installations, .zap is for Windows Installer patches, and .aas is not a standard Windows Installer extension.

Multiple choice technology operating systems
  1. True

  2. False

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

Unix files do NOT have an end-of-file mark stored in the file itself. EOF is detected by the operating system when a read operation returns no more data (0 bytes read). Unlike some other systems that used special characters (like CP/M's Ctrl-Z), Unix simply tracks file size and detects EOF conditionally.