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
-
touch filename
-
cat filename
-
less filename
-
create filename
A
Correct answer
Explanation
The touch command creates an empty file without opening it for editing. cat displays file contents, less views files page-by-page, and create is not a standard Unix file creation command.
-
ls [rgi]
-
ls ?3[rgi]*
-
ls ??[rgi]*
-
ls **[rgi]?
C
Correct answer
Explanation
The pattern ??[rgi]* matches files where the 3rd character is r, g, or i: ?? (any 2 chars), [rgi] (3rd char), * (rest). *[rgi]* would match r/g/i anywhere, ?3[rgi]* incorrectly requires '3', **[rgi]? has invalid glob syntax.
-
.wmlscript
-
.wmls
-
.wml
-
.wap
B
Correct answer
Explanation
WMLScript files use the .wmls file extension. This is distinct from .wml which is for WML markup files, and .wmlscript which is not the standard extension. The .wmls extension identifies files containing WMLScript code to be compiled.
-
data files
-
redo logs
-
password files
-
control files
C
Correct answer
Explanation
Mandatory Oracle disk files are: data files (store database data), control files (database metadata/structure), and redo log files (transaction recovery). Password files are optional - only needed if using password file authentication for remote admin connections.
A
Correct answer
Explanation
It is possible to combine or bind an executable (.exe) file with an image file (such as .jpg or .png) using binders or steganography techniques so that the executable runs when the file is opened or extracted.
-
ASCII , CSV, XML
-
CSV,XML
-
XML, ASCII
-
ASCII, CSV
D
Correct answer
Explanation
SAP BW's flat file import functionality supports ASCII and CSV file formats. While XML files can be processed in certain SAP contexts, the standard flat file import methods for data loading into BW primarily use ASCII (plain text) and CSV (comma-separated values) formats.
-
A fight
-
Tactical Image Figure Format
-
Technical Insitute for File Formats
-
Tagged Image File Format
D
Correct answer
Explanation
TIFF stands for Tagged Image File Format, a widely used file format for storing images, particularly in publishing and photography. It supports multiple layers and various color depths.
B
Correct answer
Explanation
File status code 92 in COBOL indicates a logic error occurred during file operations. This typically happens when a program violates file processing rules, such as attempting to read past end-of-file or performing invalid sequential access. Codes 44, 61, and 89 represent different error conditions (duplicate key, file not found, and冲突 situations respectively).
-
Source file
-
Directories
-
Binary files
-
All the above
D
Correct answer
Explanation
In the context of XML or document processing, an Element can be any of these: source files, directories, or binary files. The question is asking about possible constituents or components that might be classified as elements in a document model or file system context.
-
Check-In
-
Check-Out
-
Deliver
-
Retrieve
B
Correct answer
Explanation
In ClearCase, Check-Out is the operation used to retrieve a file from the repository to your local workspace for editing. Check-In is the reverse operation - it returns the modified file back to the repository. Deliver is used to merge completed work between streams, not for retrieving individual files.
-
A new version of the file will be added
-
The current version will be updated
-
The current version of the file will be deleted
-
None
A
Correct answer
Explanation
ClearCase uses a version control system where each check-in creates a new version of the file rather than modifying the current version. This maintains the complete history of all changes. Option B is incorrect because ClearCase doesn't update in place; option C is incorrect as versions are never deleted.
C
Correct answer
Explanation
Binary files cannot be automatically merged by ClearCase because the system cannot intelligently merge binary data. Text-based files like HTML, Java, and ASCII files can be merged using line-by-line or diff-merge algorithms. Binary files require manual resolution.
-
Contains orphaned elements, which are no longer catalogued in any version of any directory
-
All the deleted elements will be stored
-
It the meta directory of the ClearCase
-
None
A
Correct answer
Explanation
The Lost and Found directory in ClearCase contains orphaned elements - files or directories that were removed from all directory versions but still exist in the VOB database. It is not a general storage for deleted elements (those are in the VOB but not catalogued), nor is it a meta directory. It's a special container for cleanup of unreferenced objects.
B
Correct answer
Explanation
Web parts in SharePoint use the .dwp file extension, which stands for 'Web Part Description file'. This XML-based format contains metadata about the web part's properties and settings. Option B is correct - .dwp files are the standard extension for SharePoint web parts.
-
It defines MyEclipse-specific information such as the location of the web-root folder and other important details required by MyEclipse web tools for their proper operation.
-
It is an optional file and may contain some project related information.
-
It is an empty folder to cache information.
-
None of these
A
Correct answer
Explanation
The .mymetadata file stores MyEclipse-specific configuration including web-root location and other details needed for MyEclipse web tools to function properly. Option B is incorrect because this file is essential for MyEclipse projects, not optional. Option C is incorrect because it's a file with content, not a folder.