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
B
Correct answer
Explanation
In COBOL file status key values, '35' indicates that the specified file is not found or is an empty optional file that cannot be opened, representing the 'Empty File' error condition.
-
There is no lock system with retention period.
-
Cannot be deleted, nor the retention period changes
-
Can be deleted and the retention period can be changes
-
None of the above
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.
-
Support creating both thin (files that share original blocks) and thick (files that are full copies of the source file) clones
-
Support a minimum of 2000 clones
-
Clones must be writeable
-
All the above
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.
-
Pushable Document File
-
Portable File for Document
-
Portable Document Format
-
Printable Document Format
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.
-
INDEXED
-
RELATIVE
-
SEQUENTIAL
-
All of the above
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.
-
Fixed Block file
-
Fixed Unblock file
-
Variable Block file
-
Variable Unblock file
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.
A
Correct answer
Explanation
QTP uses XML format for exporting and importing object repositories, making them human-readable and editable. MTS, TSR, and XLS are not used for object repository operations - TSR is a file extension, not the format itself.
A,B,C
Correct answer
Explanation
QuickTest Professional (QTP) supports multiple file extensions for function libraries, including .qfl, .vbs, or even files with no extension at all. .bat files are batch execution files and are not supported as QTP function libraries.
D
Correct answer
Explanation
TSR is the file extension for shared object repository files in QTP. MTR and MTS are not QTP file extensions, and QFL is for function libraries, not object repositories.
-
Just go with normal delete process it will go fine.
-
Can delete only if the record is obtained by a random read.
-
Are you nuts? How can you delete a record from a ESDS file?
-
Using SORT utility
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.
-
INPUT
-
I-O, OUTPUT
-
I-O, OUTPUT, EXTEND
-
OUTPUT, EXTEND
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.
-
/etc/passwd
-
/etc/shadow
-
/etc/passwd.rch
-
/etc/shadow.rch
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.
-
compress
-
gzip
-
archive
-
tar
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'.
-
.lrr file
-
.lra file
-
.usr file
-
.lrs file
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.