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 technology storage
  1. There is no lock system with retention period.

  2. Cannot be deleted, nor the retention period changes

  3. Can be deleted and the retention period can be changes

  4. None of the above

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

The question asks about file locking with retention. Option A states there is no lock system with retention period, which is correct in the context described. The other options describe incorrect behaviors.

Multiple choice technology storage
  1. Support creating both thin (files that share original blocks) and thick (files that are full copies of the source file) clones

  2. Support a minimum of 2000 clones

  3. Clones must be writeable

  4. All the above

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

CMR10 supports cloning files in both thin (shared blocks) and thick (full copy) modes, supports a minimum of 2000 clones, and clones must be writable. Since all these features are supported, Option D 'All the above' is correct.

Multiple choice technology
  1. Pushable Document File

  2. Portable File for Document

  3. Portable Document Format

  4. Printable Document Format

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

PDF stands for Portable Document Format, which is a file format developed by Adobe to present documents in a manner independent of application software, hardware, and operating systems. The other options (Pushable, File for Document, Printable) are incorrect expansions of the acronym.

Multiple choice technology mainframe
  1. INDEXED

  2. RELATIVE

  3. SEQUENTIAL

  4. All of the above

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

All three file organization types (INDEXED, RELATIVE, and SEQUENTIAL) can be opened in all four modes (INPUT, I-O, OUTPUT, EXTEND) in COBOL. This flexibility allows programmers to choose the most appropriate file organization for their data access needs while maintaining full operational capability.

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.