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
B
Correct answer
Explanation
In Linux and Unix-like operating systems, any file or directory name beginning with a dot (.) is treated as a hidden file.
D
Correct answer
Explanation
In the output of 'ls -l', the first character indicates the file type. A hyphen (-) signifies a regular file, while 'd' represents a directory.
-
Superblock
-
Init
-
Crontab
-
Tmp
A
Correct answer
Explanation
The Superblock is a critical data structure in a file system that contains metadata about the file system itself, such as its size, status, and block information.
-
/etc/shadow
-
/etc/passwd
-
/etc/hosts
-
/tmp/password
A
Correct answer
Explanation
The /etc/shadow file stores encrypted (hashed) user passwords and password aging information, and it is readable only by the root user.
-
Hidden file
-
Configuration file
-
Directory
-
Read-only file
C
Correct answer
Explanation
In the Linux Filesystem Hierarchy Standard, /var is a top-level directory used for variable data files, such as logs, spool files, and temporary databases.
B
Correct answer
Explanation
Java source code files must have the .java extension to be recognized by the Java compiler.
B
Correct answer
Explanation
FLAC (Free Lossless Audio Codec) is a lossless format, meaning it compresses audio without losing any original data. JPG, MP4, and MP3 are all lossy formats that discard data to reduce file size.
-
File Server
-
Print Server
-
Mail Server
-
Internet Server
A
Correct answer
Explanation
A File Server is a computer responsible for the central storage and management of data files so that other computers on the same network can access them.
D
Correct answer
Explanation
MP3, AIF, and WAV are standard audio file formats. COM is a command file extension used for executable programs in DOS and Windows.
C
Correct answer
Explanation
JPEG, GIF, and BMP are common image file formats. TMP is a temporary file extension used by various programs to store data while in use.
-
files, drives, folders
-
folders, files, drives
-
folders, drives, files
-
drives, folders, files
D
Correct answer
Explanation
The standard hierarchical file structure on a computer begins with the drive (root), followed by folders (directories), and finally the individual files contained within them.
-
document
-
file
-
folder
-
program
B
Correct answer
Explanation
When you create and save a document in an application, the operating system stores that data as a file on the storage medium.
-
files
-
folders
-
programs
-
files and folders
D
Correct answer
Explanation
Computers use files to store data and folders (directories) to organize those files into a logical structure.
-
window
-
menu
-
folder
-
desktop
C
Correct answer
Explanation
A folder is a virtual container used to group and organize files and other folders within a computer's file system.
-
cp <source> <destination>
-
mv <source> <destination>
-
copy <source> <destination>
-
ls <source> <destination>
A
Correct answer
Explanation
The cp command (copy) is used to duplicate a file or directory from a source to a destination.