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
4211
Which of these file types is generally ALREADY compressed and won't shrink much more if you try to zip it?
Answer:
.jpg (JPEG Image)
Formats like .jpg, .mp3, and .mp4 already use compression. Trying to compress them again with a tool like Zip will yield little to no size reduction because there is very little redundancy left to remove.
4212
"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.
4213
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`.
4214
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.
4215
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.
4216
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.
4217
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.
4218
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.
4219
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.
4220
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.