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
-
.jpg
-
.gif
-
.wav
-
All of the above
-
None of these
D
Correct answer
Explanation
PowerPoint supports multiple file formats including images (.jpg, .gif) and audio files (.wav). All these formats can be inserted into slides, making 'All of the above' the correct choice.
-
file.exe
-
file.doc
-
file.xlf
-
file.xls
D
Correct answer
Explanation
The .xls extension is the traditional file format for Microsoft Excel workbooks, used in Excel 97-2003. While modern Excel uses .xlsx as the default format (introduced in Excel 2007), .xls files are still widely recognized and can be opened in current Excel versions with compatibility mode. Options A (.exe), B (.doc), and C (.xlf) are incorrect - .exe is for executable programs, .doc for Word documents, and .xlf for translation interchange files.
B
Correct answer
Explanation
In Visual Basic 6.0, standard modules use the .BAS file extension. .EXE is for compiled executables, .VBP is the project file itself, and .DOC is a Word document. BAS files contain reusable code procedures and global declarations that aren't tied to specific forms.
-
Project
-
Source files
-
Solution
-
None of these
A
Correct answer
Explanation
A project contains other types of files, such as sound files, image files or simple text files.
-
contiguous allocation
-
linked allocation
-
indexed allocation
-
an extension of indexed allocation
D
Correct answer
Explanation
Generally a large file system for UNIX OS use indexed allocation but for very large systems an extension of indexed allocation i.e ext 2, ext . are used.
B
Correct answer
Explanation
Unix file permissions use octal notation: 4 (read), 2 (write), 1 (execute). For owner with read AND write: 4 + 2 = 6. This gives read (4) and write (2) permissions to the owner. The octal value 6 represents rw- (read-write, no execute) for the owner permission.
C
Correct answer
Explanation
The file command analyzes a file's contents and determines its type based on the file's magic numbers and content structure, not just the extension. This is useful for identifying unknown files.
D
Correct answer
Explanation
The -s option with ls (and other file listing commands) displays the size of the file in blocks (typically 512-byte or 1KB blocks depending on the system). This shows how much disk space the file actually occupies.
C
Correct answer
Explanation
Within the mail command interface, the 'w' command saves the current message to a separate file. The 's' command typically marks for saving but doesn't write immediately, 'r' replies, and 'd' deletes.
-
chmod value
-
fmask value
-
umask value
-
none of the above
C
Correct answer
Explanation
The umask command controls the default permission bits for newly created files by setting which permissions to remove. chmod changes permissions on existing files, and fmask is not a standard Unix command.
-
text file
-
data file
-
binary file
-
core
A
Correct answer
Explanation
A text file stores data as a sequence of characters (human-readable). An integer stored as characters like '12345' rather than binary representation makes it a text file. Binary files store data in raw format.
-
shadow
-
password
-
profile
-
all the the above
A
Correct answer
Explanation
The cp (copy) command in UNIX copies files and directories. The options listed as 'cpy' and 'cmp' don't exist as standard commands. Cp can copy single files, multiple files to a directory, or recursively copy entire directory structures with the -r flag.
-
CDdir
-
CD
-
Cd
-
None of the above
-
Ordinary
-
Directories
-
Device
-
Link
-
All of the above
E
Correct answer
Explanation
This is the correct answer because all of the above options are the types of file in UNIX file system.