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
211
If you extract a file from a .zip archive, the original .zip archive:
Answer:
Remains unchanged
Extracting is like making a copy. It creates a decompressed version of the file(s) in a new location but does not modify or delete the source archive file.
212
What permission is required on a directory to be able to list its contents (e.g., using the `ls` command)?
Answer:
Read
Read permission on a directory allows a user to see the names of the files and subdirectories contained within it.
213
On a Linux or macOS system, what does the path `/` refer to?
Answer:
The root directory of the file system.
In Unix-like operating systems, a single forward slash `/` is the notation for the root directory.
214
Which of the following is NOT a good practice for naming files?
Answer:
Using special characters like `*`, `/`, and `\` in the file name.
These special characters are often reserved by the operating system for other functions and can cause errors or unexpected behavior if used in a file name.
215
The numerical representation for read, write, and execute permissions in Linux is:
Answer:
Read=4, Write=2, Execute=1
These numbers are used to set permissions concisely. For example, `rwx` is `4+2+1=7`, `r-x` is `4+0+1=5`, and `rw-` is `4+2+0=6`.
216
What does the "Execute" permission allow on a file in a Linux or macOS system?
Answer:
To run the file as a program or script
For a file to be executed (run), the user must have execute permission. This is a key security feature preventing accidental execution of non-program files.
217
Which of the following is generally a valid character to use in a file name on most operating systems?
Answer:
\_
The underscore character (\_) is widely accepted in file names across Windows, macOS, and Linux. The other characters listed (forward slash, backslash, and asterisk) are typically reserved for special functions like directory separators or wildcards and are therefore invalid in file names.
218
Which Windows application serves as the primary tool for navigating and managing files, folders, and storage devices on a computer?
Answer:
File Explorer (formerly Windows Explorer)
File Explorer, previously known as Windows Explorer, is the essential graphical user interface (GUI) application in Microsoft Windows operating systems. Its primary function is to allow users to browse and interact with the file system, including viewing, opening, copying, moving, deleting, and renaming files and folders, as well as managing drives and network locations. Internet Explorer (now largely replaced by Microsoft Edge) is a web browser. Control Panel is used for system configuration and settings, not file management. Windows Media Player is used for playing multimedia files.
219
To change your current location into a directory (e.g., using the `cd` command), what permission do you need on that directory?
Answer:
Execute
In the context of a directory, "execute" permission means the ability to "pass through" or "traverse" it. You need execute permission to make a directory your current working directory.
220
In the path `C:\Windows\System32\drivers`, which is the parent directory of `drivers`?
Answer:
\Windows\System32\drivers`, which is the parent directory of `drivers`?
The `drivers` folder is located directly inside the `System32` folder, making `System32` its parent directory.