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
B
Correct answer
Explanation
ISPF option 3.3 provides the Move/Copy Utility that allows copying data from one dataset to another. This option supports both sequential and PDS datasets and is commonly used for dataset operations.
-
It is used only to read the data from flat file.
-
It is used only to write data into another file.
-
It is used to either read or write data from or into a file at a time.
-
It is used to read and write data from and into a file at a time.
C
Correct answer
Explanation
In InfoSphere DataStage, a Sequential File stage can be configured to either read data from or write data to a flat file in a given instance. It cannot perform both read and write operations concurrently on the same link path in a single execution.
-
File sets are partitioned.
-
File sets are unpartitioned.
-
File sets are stored as a single file.
-
File sets are readable by external applications.
-
File sets are stored as header file and data files
A,D,E
Correct answer
Explanation
File Sets in DataStage have three key characteristics: they are partitioned across multiple files for parallel processing (A), they are readable by external applications because they use a standard format (D), and they consist of a header file describing the structure plus separate data files (E). Option B is false (file sets are partitioned), and Option C is false (they are multiple files, not a single file).
-
.txt format
-
.dtx format
-
.dex format
-
.dx format
-
None of above
C
Correct answer
Explanation
Dalvik VM (the virtual machine in Android's runtime) executes files in .dex (Dalvik Executable) format. Java bytecode is converted to .dex format during the Android build process. The .dex format is optimized for memory-constrained devices and uses a different instruction set than standard Java bytecode. .txt, .dtx, and .dx are not executable formats for Dalvik VM.
A
Correct answer
Explanation
The BFILE data type stores a locator pointer to a binary file residing on the external operating system server filesystem. BLOB and CLOB store binary and character data internally inside the database tablespaces, while LONG RAW is a deprecated internal data type.
C
Correct answer
Explanation
An Entry Sequenced Data Set (ESDS) is a VSAM file structure where records are stored sequentially in the exact physical order in which they are written. KSDS uses keys, RRDS uses relative record numbers, and LDS is a byte-stream dataset.
B
Correct answer
Explanation
The Assets folder in an Android project contains files that ARE packaged with the application. Unlike resources which are compiled and accessed through R.java, assets are included in the APK as-is and accessed via AssetManager. The statement claims they are 'not packaged' which is incorrect.
-
Logical- FILE-1, Physical- INFILE
-
Logical- INFILE, Physical- FILE-1
-
Logical- None, Physical-ASSIGN
-
None of them
A
Correct answer
Explanation
In COBOL's SELECT statement, the first name (FILE-1) is the logical filename - the name used within your COBOL program to reference the file. The second name (INFILE) after ASSIGN TO is the physical filename - the actual name of the file in the external system or device. This logical-to-physical mapping allows portability across different systems.
-
Check the logical abnormal conditions.
-
Check the existence of a file while open, close etc.
-
Check the execution of the program.
-
None of the above.
B
Correct answer
Explanation
The FILE-STATUS clause assigns a two-character variable that the runtime system updates after every I/O statement. This allows the program to programmatically check the success or failure of operations such as opening, closing, or accessing the file.
-
.aspx
-
.asmx
-
.ascx
-
.wsdl
-
.svc
B
Correct answer
Explanation
ASP.NET Web Services use the .asmx file extension, which stands for ASp.NET neXt generation (or 'asmx'). The .aspx extension is for web pages, .ascx is for user controls, .wsdl is for Web Service Description Language files, and .svc is for WCF services. When you create an ASP.NET Web Service in Visual Studio, it automatically generates an .asmx file.
-
swish file format
-
flash file format
-
swarf file file format
-
photoshop file format
B
Correct answer
Explanation
.swf (Small Web Format) is the file format used by Adobe Flash to deliver animations, applications, and interactive content over the web.
-
.out file
-
.txt file
-
.csv file
-
.xls file
C
Correct answer
Explanation
In LoadRunner testing scenarios, account numbers are typically stored in CSV files because they provide structured tabular data that's easy to parse and import. CSV is the standard format for parameter files and test data. Other formats like .out, .txt, or .xls are not the primary format for account data.
-
Sashelp.PrdSale
-
Sasuser.MySales
-
Profits.Quarter1
-
all of the above
D
Correct answer
Explanation
SAS datasets stored in librefs other than Work (such as Sashelp, Sasuser, and user-defined libraries like Profits) are permanent files. The Work library is exclusively reserved for temporary datasets. Because all three options specify datasets located in permanent libraries, the option indicating 'all of the above' is correct.
-
a.proc contents data=area51.all nods;
-
a.proc contents data=area51 all nods;
-
a.proc contents data=area51 all noobs;
-
a.proc contents data=area51 all.nods;
A
Correct answer
Explanation
To print a summary of all SAS datasets in a library without their individual descriptors, use the data=libref._all_ syntax combined with the nods (no details) option. Other options either omit the period prefix or use incorrect option keywords like 'noobs'.
B
Correct answer
Explanation
Android application packages use the .apk (Android Package) file extension for distribution and installation. Other choices like .exe are designed for Windows executables, while .dvk, .and, and dk represent invalid or non-existent file formats for Android apps.