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
4361
What is the primary purpose of a file extension?
Answer:
To identify the file's format or type for the operating system and applications
File extensions help the operating system determine which program should be used to open the file. For example, ".jpg" tells the OS to use an image viewer.
4362
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).
4363
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.
4364
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.
4365
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).
4366
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.
4367
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]
4368
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.
4369
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.
4370
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.