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
C
Correct answer
Explanation
Most modern Linux filesystems (like ext4) support filenames up to 255 or 256 characters. This is a significant improvement over older systems like DOS (8.3 format). Option 3802 (256) is the standard limit for the length of a single filename component.
-
named.local
-
named.ca
-
named.boot
-
named.conf
B
Correct answer
Explanation
The named.ca file contains the addresses of root name servers that DNS resolvers need to bootstrap the resolution process. BIND uses this file to initialize its cache with root server information. Without it, DNS resolvers cannot begin recursive queries.
B
Correct answer
Explanation
PHP include files can have any extension - .inc, .php, .txt, or no extension at all. The .inc extension is a convention but not a requirement. What matters is that the file contains valid PHP code. Using .php is often more secure since web servers won't display the source code.
-
<!--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().
-
Full control to the administrators group
-
Full control to the users group
-
Full control to the everyone group
-
Full control to the global group
-
Full control to the local group
C
Correct answer
Explanation
Windows NT 4.0 defaulted shared folder permissions to 'Everyone - Full Control' for ease of setup, though this created significant security risks. Share permissions were separate from NTFS file permissions, and the more restrictive of the two would apply.
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.
-
Normal backup.
-
Differential backup.
-
Incremental backup.
-
Copy backup.
C
Correct answer
Explanation
Incremental backup only saves files changed since the last backup (whether full or incremental), using the least storage space. Differential backup also saves only changed files but since the last full backup, requiring more media over time as changes accumulate. The question asks for minimum media usage across multiple backups, making incremental the correct choice.
-
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.