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
-
pfile is a binary file
-
spfile is a binary file
-
spfile is a text file
-
pfile is a binary file ; spfile is a text file
B
Correct answer
Explanation
SPFILE (Server Parameter File) is a binary file stored on the server that enables persistent parameter changes. PFILE (Parameter File) is a text-based initialization file. The binary nature of SPFILE allows Oracle to read it more efficiently and make changes that survive restarts.
A
Correct answer
Explanation
split is the correct command to divide a file into multiple smaller files. Unix commands are case-sensitive, so 'SPLIT' would not work. 'cut' extracts columns or fields, not splitting files.
A
Correct answer
Explanation
In QTP, the Local Object Repository file uses the .MTR file extension (Mercury Test Repository). The .TSR extension is for Shared Object Repository files, not local repositories.
-
Select the COBOL copybook using the Browse button and capture the COBOL copybook with Manager
-
FTP the COBOL copybook to the server platform in text mode and capture the metadata through Manager
-
FTP the COBOL copybook to the client workstation in binary and capture the metadata through Manager
-
FTP the COBOL copybook to the client workstation in texy mode and capture the Copybook with manager
D
Correct answer
Explanation
COBOL copybooks are text files that must be transferred in text mode (not binary) to preserve line endings and character encoding. The correct workflow is FTP to the client workstation where the Manager application runs, then capture through Manager. Options A and B incorrectly reference server platform or direct capture, while C incorrectly specifies binary mode.
A
Correct answer
Explanation
An empty file is syntactically valid as a source file in most programming contexts. While it may not be useful or contain any executable code, it still conforms to file format requirements and can be compiled or processed without errors. The compiler/parser simply finds no content to process.
-
Partition
-
Only None partition
-
variant
-
Only Plain Variant
C
Correct answer
Explanation
MessageDefinition.csv is defined at the variant level in SAP Ariba's hierarchy, which allows different UI configurations or parameters depending on the specific variant of the ERP system.
-
Read Only
-
Read Write
-
BOTH
-
NONE
A
Correct answer
Explanation
AWM (Analytical Workspace Manager) defaults to Read-Only attachment mode to protect data from accidental modifications. Read/Write must be explicitly chosen if updates are needed.
A
Correct answer
Explanation
JAR (Java Archive) files bundle Java classes, associated metadata, and resources like property files, images, and configuration files. WAR files are specifically for web applications, EAR files for enterprise applications, and ZIP is a general compression format not specifically designed for Java resources.
-
Document Type definition
-
Document type decision
-
Document type data
-
Document type development
A
Correct answer
Explanation
DTD (Document Type Definition) defines the structure and legal elements of an XML document. It specifies what tags can be used, their order, and how they can be nested. DTDs provide validation rules for XML parsers to check document conformance.
-
compressed index key present in the INDEX record
-
Average index key length is grater than 8
-
High Embedded Freespace
-
Extended upto 3 extent
-
Low HIARBA
A,B,C,D
Correct answer
Explanation
VSAM files need REORG when: compressed index keys indicate fragmentation (A), average key length >8 suggests inefficient storage (B), high embedded freespace means wasted space (C), and extending to 3 extents shows the file is outgrowing its allocation (D). Low HIARBA (High Insert Activity Rate) would actually NOT suggest REORG.
-
trace files
-
cross paltform transportable datafiles
-
change tracking file
-
temporary files
A
Correct answer
Explanation
Trace files are not supported in ASM because they require frequent writes and are diagnostic in nature. ASM supports database files, control files, redo logs, and other persistent database-related files.
B
Correct answer
Explanation
The statement is backwards - require() raises a fatal error (stops execution) if the file is not found, while include() only raises a warning and continues execution. This is a fundamental difference in how PHP handles missing files between these two constructs.
C
Correct answer
Explanation
The Virtual User Generator in LoadRunner creates script files with the .usr extension. These files contain the recorded user actions and can be edited and replayed. The .usr format is the standard for LoadRunner Vuser scripts.