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
-
File System
-
XML file
-
Data Dictionary
-
None of the above
C
Correct answer
Explanation
Documentum uses a Data Dictionary to store and manage all metadata about object types, their attributes, relationships, and business rules. This centralized repository ensures consistent object definitions across the docbase and enables the server to validate and enforce type constraints.
-
Rendition
-
PDF
-
TIFF
-
None of the above
A
Correct answer
Explanation
A rendition is an alternate format representation of a document's content, such as a PDF created from a Word file or a thumbnail image. Renditions are read-only and are automatically generated or manually created to support different viewing requirements while preserving the original content.
D
Correct answer
Explanation
zip combines multiple files into a single archive and compresses them simultaneously. tar only archives without compression (requires gzip/bzip2 separately), gzip only compresses single files without directory archiving.
-
Images
-
Video
-
Sound
-
Word Document
C
Correct answer
Explanation
WAV (Waveform Audio File Format) is a Microsoft/IBM standard audio format for storing sound bitstreams on PCs. It contains uncompressed raw audio data and is specifically designed for sound files, not images, video, or documents.
-
perform any OS operations
-
perform any script activities
-
perform any file system related activities
-
No such object supported in Quick Test
C
Correct answer
Explanation
The File System Object (FSO) provides methods specifically for file system operations like creating, deleting, copying, and moving files and folders. It does not perform arbitrary OS operations (option A), all script activities (option B), and it is definitely supported in Quick Test Professional (option D is false).
B
Correct answer
Explanation
Sequential file stages in DataStage are typically used as source or target stages for reading from or writing to flat files. They are not designed to be intermediate stages for data passing between other stages within a job. Use Dataset stages or in-memory buffers for intermediate storage.
A
Correct answer
Explanation
The extended stored procedure xp_fileexist checks whether a specified file exists on the server's file system and returns output parameters indicating file existence. It returns 1 in the 'File Exists' parameter if the file is found. Note: Extended stored procedures are deprecated in modern SQL Server versions in favor of FILESTREAM and other methods.
-
Input
-
Output
-
Extended
-
I-O
D
Correct answer
Explanation
I-O mode in COBOL allows both reading and updating records in a file, which is required when you need to modify existing records. Input mode only permits reading, Output mode creates new files, and Extended is not a standard file open mode in COBOL.
-
Logical- FILE-1, Physical- INFILE
-
Logical- INFILE, Physical- FILE-1
-
Logical- None, Physical-ASSIGN
-
None of them
A
Correct answer
Explanation
In the SELECT statement, the filename immediately following SELECT (FILE-1) is the logical filename used inside the COBOL program, and the name assigned (INFILE) corresponds to the external physical file or JCL DD name.
C
Correct answer
Explanation
In DPS, the REP function replaces a saved form in its existing storage location, updating the copy that was previously saved. SAV saves to new storage, MOD modifies form data, and OLD retrieves previous versions.
-
SEQUENTIAL
-
RANDOM
-
DYNAMIC
-
ACCESS MODE has nothing to do with it
C
Correct answer
Explanation
In COBOL, DYNAMIC access mode allows a program to switch between sequential and random access of records on the same file. SEQUENTIAL only permits serial reading, and RANDOM only permits direct reading by key, making DYNAMIC the correct choice.
-
INDEXED
-
RELATIVE
-
SEQUENTIAL
-
All of the above
D
Correct answer
Explanation
In COBOL, INDEXED, RELATIVE, and SEQUENTIAL file organizations can all be opened in INPUT, I-O, OUTPUT, and EXTEND modes. Each file type supports these four access modes for different operations.
B
Correct answer
Explanation
The UNSTRING verb in COBOL is used to split a single string into multiple fields, not to transfer data from several sources to one receiving file. STRING is used for combining multiple fields into one.
-
Rule-Admin-Product
-
Choosing File > Export Archive from the Developers Portal
-
Choosing Tools > Rule Management > Delete a RuleSet
-
All of the above
B
Correct answer
Explanation
To create a zip archive containing rules in Pega, you use File > Export Archive from the Developer Portal. Rule-Admin-Product is for product rules, and the Delete a RuleSet option is for deletion, not archiving.
-
Output
-
Fail
-
Drop
-
Continue
A
Correct answer
Explanation
In the Sequential File Stage, the 'Output' Reject Mode writes rejected records to a reject link for later handling. 'Fail' stops the job entirely on rejection, 'Drop' silently discards rejected records, and 'Continue' processes remaining records but doesn't write rejects anywhere.