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
A
Correct answer
Explanation
User controls in ASP.NET use the .ascx file extension, which distinguishes them from web forms (.aspx) and web services (.asmx). The 'ascx' stands for 'ASP.NET User Control'.
B
Correct answer
Explanation
Web forms in ASP.NET are stored with the .aspx file extension, which is the standard for ASP.NET web pages. The 'aspx' extension indicates an ASP.NET page that can contain server controls and code.
D
Correct answer
Explanation
iso9660 is the CD-ROM file system, proc is the process information filesystem, and FFS is the Unix Fast File System. MFS typically refers to the Macintosh File System, which is not native to Unix, though some Unix systems have a Memory File System with the same abbreviation.
B
Correct answer
Explanation
The /opt directory is the standard location for optional software packages in Unix/Linux systems. It's designed to hold add-on applications that are not part of the base system installation.
-
/etc/inittab
-
/etc/filesystems
-
/etc/mtab
-
/etc/fstab
C
Correct answer
Explanation
/etc/mtab contains information about currently mounted filesystems on Linux systems, dynamically updated by the mount command. /etc/fstab contains static configuration for filesystems to mount at boot, while /etc/inittab is for init system configuration. /etc/filesystems defines filesystem types but not mount status.
-
data file
-
password file
-
archivelog file
-
temporary file
-
online redo log file
E
Correct answer
Explanation
RMAN BACKUP command cannot back up online redo log files. RMAN supports backing up datafiles, control files, parameter files (spfile), archivelog files, and even backup sets themselves, but online redo logs are explicitly excluded. This is by design - redo logs are managed through the log switch/archive mechanism, not RMAN backups. Attempting to back them up with RMAN will fail.
A
Correct answer
Explanation
Excel has a 'Save As' feature that allows saving workbooks in multiple formats including CSV (Comma Separated Values). CSV is a plain text format where each column is separated by commas and each row by line breaks. This is commonly used for data interchange between different systems. The statement is true.
A
Correct answer
Explanation
VSAM files (KSDS, RRDS) must be opened in I-O mode for DELETE operations because I-O mode allows both reading and writing operations. This mode is required to locate and then remove records from the dataset.
B
Correct answer
Explanation
In COBOL file status codes, '35' indicates that an OPEN operation was attempted on a non-existent or empty file that does not support dynamic creation.
B
Correct answer
Explanation
In COBOL, Dynamic access mode means you can choose to access files either sequentially OR randomly in the same program, not both simultaneously for a single operation. You use specific verbs (READ vs READ NEXT) to indicate the access method.
-
Place the file 'secret.txt' in a directory called 'protected' in the 'myApp' Web Application.
-
Place the file 'secret.txt' in a directory called 'private' in the 'myApp' Web Application.
-
Place the file 'secret.txt' in a directory called 'WEB-INF' in the 'myApp' Web Application.
-
Any filename starting with 'secret' are usually not accessible by the Clients, so this file can be places anywhere in the Web Application.
C
Correct answer
Explanation
The WEB-INF directory is specially protected in the web application structure - contents cannot be directly accessed by clients via URLs. Options A and B ('protected' and 'private' directories) are not special. Option D is incorrect - filenames starting with 'secret' have no special protection.
B
Correct answer
Explanation
The File class in Java represents file and directory pathnames abstractly but does not provide methods to read or write file contents. It only manipulates file metadata (existence, deletion, path operations). For actual I/O operations, you need stream classes like FileReader, FileWriter, BufferedReader, or Files utilities.
-
Local Object repository
-
Shared Object repository
-
Both
-
None
A
Correct answer
Explanation
In QTP, the Local Object Repository is embedded within the test or action file and is not accessible as a separate file. In contrast, the Shared Object Repository is stored as a separate .tsr file that can be accessed and reused across multiple tests.
-
an open folder.
-
the folder contains subfolders.
-
a text file.
-
a graphics file.
B
Correct answer
Explanation
In Windows Explorer tree view, a plus (+) sign indicates a folder contains subfolders and is currently collapsed (not expanded). Clicking the plus expands the folder to show its subfolder structure. An open/expanded folder shows a minus (-) sign instead. Text and graphics files appear as icons, not with expand/collapse indicators.
-
A file is a collection of related pieces of information stored together for easy reference.
-
Files can be generated from an application.
-
Files are stored in RAM.
-
Files should be organized in folders.
C
Correct answer
Explanation
This is an EXCEPT question asking for the FALSE statement. Files are stored on permanent storage media like hard drives, SSDs, or flash drives, not in RAM. RAM is volatile memory that loses its contents when power is turned off. The other statements are all true: files are organized collections of data, applications create files, and organizing files in folders is good practice. Files may be loaded into RAM temporarily when accessed, but are not stored there permanently.