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
4351
Which of the following file extensions is associated with a compressed archive format?
Answer:
.zip
The ".zip" extension is one of the most common formats for compressed archive files. These files can contain one or more files or folders that have been compressed to save space.
4352
What is the term for the directory that is one level above the current directory?
Answer:
Parent directory
The parent directory is the directory that contains the current directory. In command-line interfaces, it is often represented by two dots (`..`).
4353
What happens when you "rename" a file?
Answer:
You change the name of the file but its content and location remain the same.
Renaming a file only changes the metadata associated with the file's name. The actual data within the file and its location on the storage device are not altered.
4354
If you are denied permission to save a file in a certain directory, what is the most likely reason?
Answer:
You do not have "write" permission for that directory.
Write permission on a directory is required to create new files within it.
4355
If you cannot save changes to a file, the most likely reason is that you lack which permission?
Answer:
Write
Saving changes to a file is a write operation. If you do not have write permission, the operating system will block the save attempt.
4356
What is the "append" operation?
Answer:
To add new data to the end of an existing file
Appending writes new information after the current content of a file without erasing what was already there, effectively making the file longer.
4357
What is a "dictionary" in the context of some compression algorithms (like LZ77)?
Answer:
A data structure that keeps track of previously seen sequences of data to avoid repeating them
These algorithms build a "dictionary" of data patterns as they scan a file. When they see a pattern again, they can insert a short reference to its previous occurrence instead of writing out the whole pattern, thus saving space.
4358
What is a "path" in the context of a file system?
Answer:
The sequence of directories that must be navigated to locate a specific file or folder.
A path is a string of characters that specifies the unique location of a file or directory in a file system. It provides the directions to find the item, starting from the root directory.
4359
What is the "root" directory in a file system?
Answer:
The top-level directory of the file system.
The root directory is the highest level in the directory hierarchy. All other files and directories are contained within it. In Unix-like systems, it's represented by a single forward slash (`/`), and in Windows, it's the drive letter (e.g., `C:\`).
4360
In the file name "My_Report_Final.docx", what is the part ".docx" called?
Answer:
The file extension
The file extension is the suffix at the end of a file name that indicates its type.