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
-
<!--include file="time.inc"-->
-
<?php include_file("time.inc"); ?>
-
<?php require("time.inc"); ?>
-
<% include file="time.inc" %>
C
Correct answer
Explanation
The require() function includes a file and produces a fatal error if the file cannot be included. Option A uses HTML comment syntax (invalid for PHP), Option B uses a non-existent function include_file(), and Option D uses ASP syntax (<% %>). The correct PHP syntax is require() or include().
B
Correct answer
Explanation
In VB.NET projects, assembly information (version, title, company, etc.) is stored in AssemblyInfo.vb. VB.NET files use the .vb extension, while C# projects use AssemblyInfo.cs.
-
JPG's render true color poorly at some screen resolutions, whereas GIFs do not.
-
The GIF file format is tailored to the Internet, whereas the JPG was developed for storage only.
-
The file compression features of the JPG format may render the fonts unreadable.
-
JPG's are about three times the size of GIFs and therefore take more time to render in a browser.
C
Correct answer
Explanation
JPG uses lossy compression that can cause artifacts around sharp edges like text, potentially making fonts unreadable. GIF uses lossless compression optimized for graphics with solid colors and sharp edges, making it better for text-containing images. Option A is incorrect because JPG renders true color well, and option D is wrong because GIFs are often smaller than JPGs for simple graphics.
-
The original folder is not shared anymore, but the copy is shared.
-
The original folder as well as the copy is shared.
-
The original shared folder is still shared, but the copy is not shared.
-
The original shared folder and the copy both are not shared anymore.
C
Correct answer
Explanation
In Windows Server 2003, copying a shared folder does not copy the share permissions or settings. The original folder retains its shared status, but the new copy is created as a regular folder without sharing enabled. You must manually share the copied folder if needed.
-
Any part of the file section
-
Any part of the working-storage section
-
Any part of the data division
C
Correct answer
Explanation
In COBOL, 77-level entries are elementary items that can appear anywhere in the DATA DIVISION. The File Section and Working-Storage Section are subdivisions within the Data Division, so restricting to 'any part' would be incorrect. 77-level items have the broadest placement scope within the entire Data Division.
-
difficult to update
-
lack of data independence
-
data redundancy
-
program dependence
-
all of above
E
Correct answer
Explanation
File management systems suffer from all these problems: they are difficult to update, lack data independence (programs must know data structure), have data redundancy (same data stored in multiple files), and show program dependence (changes require program updates).
A,B
Correct answer
Explanation
Crystal Reports supports dynamic image objects in formats JPG and BMP among others. WMV is a video format, not supported for image objects. CSP is not a standard image format supported by Crystal Reports for dynamic embedding.
-
mv filename
-
cp filename
-
rm filename
-
rm -rf *
C
Correct answer
Explanation
The 'rm filename' command removes (deletes) a single file. 'mv' moves/renames files, 'cp' copies files, and 'rm -rf *' recursively deletes ALL files and directories in the current location - a dangerous command unrelated to deleting a single file.
-
mv oldfilename newfilename
-
touch oldfilename newfilename
-
cp oldfilename newfilename
-
rm -rf *
A
Correct answer
Explanation
The 'mv oldfilename newfilename' command renames a file by moving it to a new name in the same directory. 'cp' copies files, 'touch' creates empty files, and 'rm -rf *' deletes everything. The mv command serves dual purpose: moving files between directories OR renaming within the same directory.
-
Temp file
-
Raw file
-
Permanent file
-
Zip file
B
Correct answer
Explanation
A raw file is data that has not been processed, compressed, or manipulated by the computer - it's in its original, unaltered state. Raw files contain direct data from a device like a camera or sensor without any modifications. Temp files are temporary storage, permanent files are meant to be kept, and zip files are compressed archives.
-
Comma-Separated Values
-
Comma-Specific Values
-
Comman-Separated Values
-
Comman-Specific Values
A
Correct answer
Explanation
CSV stands for Comma-Separated Values, a file format for tabular data where values are separated by commas. Option A is correct. Options B, C, and D use incorrect terms Specific and the typo Comman.
-
Temp file
-
Raw file
-
Permanent file
-
None
B
Correct answer
Explanation
A raw file is unprocessed data that hasn't been altered, compressed, or manipulated by the computer. Raw files contain direct, unmodified data from sensors or sources. Temporary files are for short-term storage, permanent files are meant for long-term retention, and 'None' doesn't describe a file type.
B
Correct answer
Explanation
GIF actually stands for Graphics Interchange Format, not Graphics Inverse Format. It's a bitmap image format that supports both static and animated images, widely used on the internet for short animations and simple graphics with limited colors.
-
.xl
-
.xls
-
.xlb
-
.xllib
-
.xlbin
-
.xlsx
C
Correct answer
Explanation
JPEG, GIF, and BMP are all image file formats. TMP is a generic temporary file extension used by many programs and is not an image file format.