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 mainframe
  1. Fixed Block file

  2. Fixed Unblock file

  3. Variable Block file

  4. Variable Unblock file

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

In COBOL, BLOCK CONTAINS 0 with SEQUENTIAL organization indicates a Fixed Block record format. This configuration tells the system that records are fixed-length and blocked. Option B (Fixed Unblock) would omit the BLOCK CONTAINS clause or specify BLOCK CONTAINS 1.

Multiple choice technology mainframe
  1. Just go with normal delete process it will go fine.

  2. Can delete only if the record is obtained by a random read.

  3. Are you nuts? How can you delete a record from a ESDS file?

  4. Using SORT utility

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

ESDS (Entry Sequenced Data Set) files do not allow record deletion - records can only be added sequentially. This is a fundamental characteristic of ESDS organization in VSAM. Normal delete processes won't work, and you cannot delete even with random reads.

Multiple choice technology mainframe
  1. INPUT

  2. I-O, OUTPUT

  3. I-O, OUTPUT, EXTEND

  4. OUTPUT, EXTEND

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

To open a file for writing in COBOL, you can use OUTPUT mode (creates new or truncates existing) or EXTEND mode (adds to end of existing file). INPUT (A) is for reading only. I-O (B) is for reading AND writing existing records, not pure writing. Option C incorrectly includes I-O.

Multiple choice technology operating systems
  1. /etc/passwd

  2. /etc/shadow

  3. /etc/passwd.rch

  4. /etc/shadow.rch

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

The /etc/shadow file contains encrypted passwords. In modern Unix systems, password information is split: /etc/passwd contains public user information (username, UID, GID, home directory, shell) and is world-readable, while /etc/shadow contains sensitive data including encrypted passwords and is readable only by root. The 'one character' mentioned in the question likely refers to the 'x' placeholder in /etc/passwd which indicates the password is stored in /etc/shadow. The .rch extensions are not standard Unix files.

Multiple choice technology operating systems
  1. compress

  2. gzip

  3. archive

  4. tar

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

The tar (tape archive) command is used to archive files in Unix/Linux. It combines multiple files into a single archive file without compression by default. The compress and gzip commands are used for compression of individual files, not for creating archives. The -z flag with tar (tar -czf) creates compressed archives using gzip. There is no standard 'archive' command in Unix. The word 'commad' in the question is a typo for 'command'.

Multiple choice technology testing
  1. .lrr file

  2. .lra file

  3. .usr file

  4. .lrs file

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

In LoadRunner Controller, scenario groups use .usr files which contain the Vuser script and configuration. .lrr is for scenario results, .lra is for analysis files, and .lrs is for scenario files. The .usr file is the correct choice for defining Vuser groups in scenarios.

Multiple choice technology operating systems
  1. /etc/inittab

  2. /etc/filesystems

  3. /etc/mtab

  4. /etc/fstab

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

/etc/mtab contains information about currently mounted filesystems on Linux systems, dynamically updated by the mount command. /etc/fstab contains static configuration for filesystems to mount at boot, while /etc/inittab is for init system configuration. /etc/filesystems defines filesystem types but not mount status.

Multiple choice technology databases
  1. data file

  2. password file

  3. archivelog file

  4. temporary file

  5. online redo log file

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

RMAN BACKUP command cannot back up online redo log files. RMAN supports backing up datafiles, control files, parameter files (spfile), archivelog files, and even backup sets themselves, but online redo logs are explicitly excluded. This is by design - redo logs are managed through the log switch/archive mechanism, not RMAN backups. Attempting to back them up with RMAN will fail.