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
291
Which of the following best describes a "flat" directory structure?
Answer:
A structure where all files are stored in a single directory.
A flat directory structure is one that does not use subfolders. All files are placed in the root directory or a single top-level directory. This is generally not practical for organizing a large number of files.
292
Deleting a file from a USB flash drive usually:
Answer:
Deletes it permanently immediately
Most operating systems do not use the Recycle Bin for removable media. Deleting a file from a USB drive or network share is typically a permanent action.
293
Which extension is commonly used for system configuration files in Unix-like systems?
Answer:
.conf
While ".cfg" and ".ini" are also used, ".conf" is a very common convention for configuration files on Linux and other Unix-like systems (e.g., `/etc/ssh/sshd_config`).
294
In Windows, file permissions are managed through:
Answer:
Access Control Lists (ACLs)
NTFS, the standard Windows file system, uses ACLs. An ACL is a list of permissions attached to an object, specifying which users or groups are granted access and what operations are allowed.
295
What does it mean to "overwrite" a file?
Answer:
To replace the existing contents of a file with new content
Overwriting occurs when you save a file with the same name in the same location as an existing file. The old file's data is replaced by the new data.
296
What is the root directory in a Unix-like operating system (e.g., Linux, macOS)?
Answer:
/
The forward slash character `/` represents the root directory, which is the top-level directory of the entire file system hierarchy.
297
What is the primary purpose of a directory structure?
Answer:
To organize files and folders in a logical, hierarchical manner.
A directory structure provides a way to group related files and folders, making it easier to navigate, manage, and locate information on a storage device.
298
Which of the following is a common file extension for a compressed archive?
Answer:
.zip
The ".zip" file format is one of the most widely used formats for creating compressed archives. Other common formats include .rar, .7z, and .tar.gz.
299
If a file is marked as "read-only," what does this mean?
Answer:
The file can be opened and viewed, but its contents cannot be changed or saved.
A "read-only" attribute is a file system permission that allows a user to read a file but prevents them from writing to it or making any modifications. This is a common way to protect important files from accidental changes.
300
The "Full Control" permission in Windows ACLs is a combination of which permissions?
Answer:
Read, Write, Execute, Modify, and Delete
"Full Control" is a convenient preset that grants a user or group all possible standard permissions on a file or folder, including the ability to change the permissions themselves.