Computer Science/IT MCQs
Topic Notes: Computer Science/IT
MCQs and preparation resources for competitive exams, covering important concepts, past papers, and detailed explanations.
Plato
- Biography: Ancient Greek philosopher (427–347 BCE), student of Socrates and teacher of Aristotle, founder of the Academy in Athens.
- Important Ideas:
- Theory of Forms
- Philosopher-King
- Ideal State
101
Which of these file names is most likely to cause problems on a Linux or macOS system?
Answer:
My\*Document.txt
The asterisk (\*) is a wildcard character in both Linux and macOS command-line environments. Using it in a file name can lead to unexpected behavior when working with files in the terminal.
102
In the file name "Annual\_Report.Final.pdf", what is the file extension?
Answer:
.pdf
The file extension is the last part of the file name following the final period. In this case, it is ".pdf", indicating an Adobe Portable Document Format file.
103
In a file system hierarchy, what sits at the top?
Answer:
Root directory
The root directory is the main directory from which all subdirectories branch. [cite: 218, 219]
104
Which of these actions is NOT a standard file operation?
Answer:
Format
Formatting is an operation performed on an entire storage drive to prepare it for use; it is not an operation on an individual file.
105
A directory is essentially a special type of:
Answer:
File that contains a list of other files and directories
At a low level, a directory is a file that stores metadata about the files and subdirectories it contains, including their names and pointers to their locations.
106
A file name in MS Word cannot contain:
Answer:
Space
Certain file naming rules disallow spaces in specific database or program files.
107
In a multi-user system, who usually has the ability to change the permissions of a file?
Answer:
The owner of the file and the system administrator.
The owner of a file is granted special privileges over it, including the ability to set permissions for other users.
108
In the Unix/Linux permission model, permissions are set for which three categories of users?
Answer:
Owner, Group, Others
The standard Unix security model defines permissions for the file's owner (a single user), the group the file belongs to (a set of users), and all other users on the system.
109
What does the permission `rwx------` mean in Linux?
Answer:
Only the owner can read, write, and execute; the group and others have no permissions
The first three characters (`rwx`) represent the owner's permissions (Read, Write, Execute). The next two sets of three dashes (`---` and `---`) indicate no permissions for the group and others, respectively.
110
What is a "subfolder" (or "subdirectory")?
Answer:
A folder that is located inside another folder.
A subfolder, or subdirectory, is a directory that is nested within another directory. This creates a hierarchical structure for organizing files.