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
-
more filename
-
less filename
-
cat filename
-
touch filename
D
Correct answer
Explanation
To create a new file without opening it, the user needs to use the touch command, which is option D.
Explanation for each option:
A. The more command is used to display the contents of a file one page at a time. It is not used to create a new file.
B. The less command is similar to the more command and is used to display the contents of a file one page at a time. It is also not used to create a new file.
C. The cat command is used to display the contents of a file in the terminal. It is not used to create a new file.
D. The touch command is used to create a new empty file without opening it. The command takes the name of the file as an argument. If the file already exists, then the command updates the modification timestamp of the file.
Therefore, the answer is: D. touch filename
-
ASCII files
-
Binary files
-
CSV files
-
All of the above
C
Correct answer
Explanation
nzload is designed for delimited text files, with CSV being the standard and most commonly supported format. It requires data in a structured, delimited format to parse correctly. While it supports various delimiters beyond just commas, CSV is the primary format. Binary formats require conversion or different loading tools.
-
id and scope
-
type and id
-
file and flush
-
page and flush
D
Correct answer
Explanation
The jsp:include action uses the 'page' attribute (specifying the relative URL to include) and the optional 'flush' attribute (controls whether the buffer is flushed before inclusion). Option D correctly identifies these attributes. Options A and B list attributes used by other JSP actions (useBean), and option C incorrectly uses 'file' instead of 'page'.
-
Listing file
-
IAM file
-
XLAT file
-
QSAM file
-
DDTLIB
-
DEFLIB
-
RULLIB
-
TBLLIB
B
Correct answer
Explanation
DEFLIB is the designated location for form files in the system's directory structure. Form files contain layout and formatting definitions for documents and reports. The other libraries serve different purposes - DDTLIB for data definitions RULLIB for rules and TBLLIB for table files.
-
W32BIN
-
W32DLL
-
SIGFILES
-
TBLLIB
B
Correct answer
Explanation
W32DLL is the correct location for DLL (Dynamic Link Library) files in a 32-bit Windows environment. DLL files contain executable code and resources that multiple programs can use simultaneously. W32BIN would typically contain executables while SIGFILES and TBLLIB serve other purposes.
A
Correct answer
Explanation
TTF (TrueType Font) is indeed the standard file extension for TrueType font files. This format was developed by Apple and Microsoft and is widely used for digital fonts. The statement is accurate.
-
FM3.bat
-
RUNMET.bat
-
RUNPDF.bat
-
PCL2PDF.bat
A
Correct answer
Explanation
FM3.bat is the batch job commonly used for image creation in this system. The other batch files serve different purposes - RUNMET for metadata RUNPDF for PDF conversion and PCL2PDF for PCL to PDF transformation.
-
CSV and ASCII files can be uploaded
-
The table used to store the flat file load parameters is RSADMINC
-
The transaction for setting parameters for flat file upload is RSCUSTV7
-
None of the above
C
Correct answer
Explanation
The transaction RSCUSTV7 is used in SAP BW to set parameters for flat file uploads. The question asks which statement is NOT true. Options A and B are actually true statements (CSV/ASCII files can be uploaded, and RSADMINC stores parameters), so they are not the answer. Option D ('None of the above') would mean all A-C are true, but C is stated as the correct answer, implying C is the 'not true' statement. However, the question framing is confusing.
-
Database Configuration files
-
Data Files(only serial files)
-
Data Files(either serial files or multifiles)
-
Data Manipulation Language files
C
Correct answer
Explanation
The .dat file extension signifies Data Files that can be either serial files or multi-file formats. In data integration and ETL tools like Informatica, .dat files contain raw data that the platform processes. Option A is incorrect - database configurations use different extensions. Option B is incomplete - it's not limited to serial files only. Option D is incorrect - DML refers to SQL commands, not file extensions.
-
Returns the number of matching data records in a Lookup File.
-
Returns successive data records from a Lookup File.
-
Returns a data record from a partition of a Lookup File.
-
Returns a data record from a Lookup File which matches with the values of expression argument.
D
Correct answer
Explanation
A Lookup File function returns a data record that matches the values of the expression argument passed to it. It searches the lookup file based on the expression and returns matching records. Option A is incorrect - it doesn't just return a count. Option B is incorrect - it doesn't return successive records unless they match. Option C is incorrect - it doesn't return from a specific partition without matching criteria.
A
Correct answer
Explanation
In Ab Initio graphs, the same file can be accessed by multiple components simultaneously for both read and write operations. However, proper sequencing and coordination are required to avoid conflicts and ensure data integrity.
B
Correct answer
Explanation
PowerShell's redirection operators (like > and >>) can create new files but will not automatically generate non-existent parent directories. Attempting to write to a path without the directory already existing will fail and result in a directory not found exception.
-
Scripting type
-
File Creation
-
Object Oriented
-
Misselaneous
A
Correct answer
Explanation
The Scripting type library (contained in Scrrun.dll) provides the File System Object for file operations in VBScript. This is a COM library reference for scripting filesystem access.
-
Folders are structurally similar to a view.
-
Floders also list documents, but do not have a selection criteria
-
The user has to decide what are all the documents needs to be stored inside the folder.
-
all of these
-
None of these
D
Correct answer
Explanation
Folders in Lotus Notes share the structural characteristics of views but operate differently. Unlike views that use selection criteria to automatically include documents, folders are manual containers where users explicitly decide which documents to store. The user must actively place documents into folders, making folders a user-controlled organizational tool rather than a system-defined filtered list.