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
41
"Write" permission for a file typically allows a user to:
Answer:
Modify the file's contents.
Write permission grants the ability to add, delete, or change the data within a file.
42
What is the character used to separate directories in a file path on Linux and macOS?
Answer:
/ (forward slash)
Unix-like operating systems use the forward slash `/` as a path separator, for example, `/usr/local/bin`.
43
The ".pdf" extension stands for:
Answer:
Portable Document Format
PDF (Portable Document Format) is a file format designed to present documents consistently across multiple platforms and applications.
44
The "solid archive" feature in some compression formats (like .rar and .7z):
Answer:
Treats all files to be compressed as one continuous data stream, often improving compression
By compressing files as a single block, the algorithm can find redundancies between files, not just within them, leading to smaller archive sizes, especially when many small, similar files are involved.
45
What is the primary function of a directory?
Answer:
To provide a way of organizing and grouping files and other directories
Directories (or folders) act as containers, allowing users to structure their data logically and avoid having thousands of files in a single location.
46
A file's "owner" is typically:
Answer:
The user who created the file
By default, when a user creates a new file, their user account is set as the owner of that file, giving them primary control over its permissions.
47
What is "lossless" compression?
Answer:
A type of compression where the original data can be perfectly reconstructed after decompression.
Lossless compression algorithms reduce file size without discarding any information. When the file is decompressed, it is an exact replica of the original. This is crucial for text files, program files, and some image formats like PNG.
48
Which file format is commonly associated with lossy compression?
Answer:
.jpg
The JPEG format uses lossy compression, which discards some of the image data (usually information that the human eye is less likely to notice) to achieve a much smaller file size.
49
Creating a new, empty text file on your desktop is an example of which file operation?
Answer:
Create
This action tells the file system to create a new file entry in the desktop directory with a size of zero bytes.
50
The "Undo" command (Ctrl+Z) can often reverse which of the following file operations?
Answer:
A recent move, copy, rename, or deletion to the Recycle Bin
The undo functionality in file explorers keeps a short history of recent operations and can reverse them, but it cannot recover files that have been permanently erased.