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
221
The file extension ".mp3" is a standard for what type of content?
Answer:
Digital audio
".mp3" is one of the most common file formats for storing and playing digital audio. It uses compression to create a smaller file size with minimal loss of sound quality.
222
If a user has only "read" permission for a file, they can:
Answer:
Open and view the file.
Read permission allows access to the content of a file without the ability to change it.
223
Why would you compress a folder before sending it as an email attachment?
Answer:
To combine multiple files into a single attachment and reduce the total size.
This makes the attachment more organized and helps to stay within the email provider's size limits.
224
If you are in the directory `/var/log` and you use the path `../www/index.html`, what is the absolute path to the file?
Answer:
`/var/www/index.html`
From `/var/log`, `..` goes up one level to the parent directory, which is `/var`. From `/var`, the path then goes into the `www` subdirectory to find `index.html`.
225
The hierarchical organization of files and folders on a disk is often referred to as a:
Answer:
Tree structure
A directory structure is like an inverted tree, with the root directory at the top and branches leading to subdirectories and files.
226
What is an Access Control List (ACL)?
Answer:
A more advanced and specific way of defining file permissions for multiple users and groups.
An Access Control List provides a more flexible permission system than the traditional owner/group/everyone model. With an ACL, you can specify permissions for many different users and groups on a single file or directory.
227
Which of the following characters is generally forbidden in a file name on a Windows operating system?
Answer:
? (question mark)
Windows prohibits the use of several characters in file names, including \< \> : " / \\ | ? \*, as they have special meanings to the operating system.
228
If a user is the owner of a file and also a member of the group the file belongs to, which permissions apply?
Answer:
The owner's permissions
The permission model checks in a specific order: first it checks if the user is the owner. If so, only the owner permissions are applied and the process stops.
229
The `chown` command in Linux is used to:
Answer:
Change file ownership
`chown` (change owner) is used by the owner or root user to transfer the ownership of a file or directory to a different user and/or group.
230
The "save" operation in an application is an example of which fundamental file operation?
Answer:
Write
When you save a file, you are writing data (either new or modified) from the application's memory to the storage device.