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
191
If you do not have "read" permission for a directory, what are you typically unable to do?
Answer:
List the contents of the directory (i.e., see the names of the files and subfolders inside it).
Read permission on a directory is what allows you to see a list of the files and folders it contains. Without this permission, you would not be able to browse the directory's contents, even if you have permission to access the files inside it directly (if you know their names).
192
What is an "archive" in the context of file compression?
Answer:
A single file that contains a collection of other files and folders.
An archive is a container that bundles multiple files into one for easier storage and transfer.
193
When you "save" a file for the first time, you are performing a create operation. When you "save" it again later, you are performing a(n):
Answer:
Write/Overwrite operation
Subsequent saves update the file on the disk by writing the new data over the old data.
194
Why would you compress a folder of 100 small text files into a single archive before emailing it?
Answer:
All of the above
Archiving provides the combined benefits of convenience (one attachment instead of many), size reduction (compression), and organization (preserving the folder layout).
195
A file path that does not start with a root symbol (`/` or `C:\`) is always:
Answer:
\`) is always:
The defining characteristic of a relative path is that its starting point is the current working directory, not the root of the file system.
196
A file that remains in its original form without processing is termed:
Answer:
Raw file
Raw files contain unedited data, such as original images or recordings. [cite: 217]
197
Which file operation creates a new, empty file in a specified location?
Answer:
Create
The "create" operation is the fundamental action of generating a new file on the file system.
198
Why is it a security risk to grant "write" permission to all users for a system folder?
Answer:
Any user could potentially delete or modify critical system files, causing instability or a crash.
System files should be protected with restrictive permissions to maintain the integrity of the operating system.
199
Which of the following characters is typically invalid in a file name on a Windows operating system?
Answer:
?
The question mark (?) is a wildcard character in Windows and is not allowed in file names. The hyphen, period, and underscore are all valid characters.
200
What does the "hidden" file attribute do?
Answer:
It makes the file invisible in standard directory listings
Hidden files are not shown by default in graphical file explorers or with basic `ls`/`dir` commands. They are often used for system or configuration files that users shouldn't normally interact with.