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
251
A folder located inside another folder is called a:
Answer:
Subfolder
A subfolder, or subdirectory, is a directory that is nested within another directory.
252
Which file extension was primarily used for documents created with Microsoft Word versions spanning from 1997 to 2003?
Answer:
.doc
Microsoft Word versions released between 1997 and 2003, including Word 97, Word 2000, Word 2002 (XP), and Word 2003, used '.doc' as the default file extension for standard document files. This binary file format was proprietary to Microsoft. While '.dot' was used for templates in these versions, and '.txt' is a plain text file format, '.pdf' is a Portable Document Format used for fixed-layout documents. The '.docx' extension was introduced with Microsoft Word 2007, marking a shift to an XML-based file format.
253
Most graphical file managers allow you to rename a file by:
Answer:
Slowly clicking the file name a second time after selecting it
This action, along with right-clicking and choosing "Rename" or selecting the file and pressing F2 (on Windows), is a common method for initiating a file rename.
254
What is a potential disadvantage of using lossy compression?
Answer:
The quality of the file is reduced and this loss of quality is permanent.
The trade-off for the greater file size reduction of lossy compression is a permanent loss of some of the original data. This means the decompressed file will not be identical to the original, and the quality degradation can become more apparent if the file is re-compressed multiple times.
255
In the Windows file path `C:\Program Files\Microsoft Office\`, which part represents a subfolder?
Answer:
Both b and c
`Program Files` is a subfolder of the root directory `C:\`, and `Microsoft Office` is a subfolder of `Program Files`.
256
What is the character used to separate directories in a file path on Windows?
Answer:
\\ (backslash)
Windows uses the backslash `\` as a path separator, for example, `C:\Program Files\App`.
257
If a file has permissions `r--r--r--`, what does this mean?
Answer:
Everyone on the system can read the file, but no one can modify or execute it
The `r--` pattern is repeated for the owner, the group, and others, granting read-only access to all three categories.
258
In the path `/users/jane/documents/project1/draft.txt`, which is the immediate parent directory of `draft.txt`?
Answer:
`project1`
The file `draft.txt` is located directly inside the `project1` directory.
259
What is run-length encoding (RLE)?
Answer:
A simple form of lossless compression that replaces sequences of identical data with a count
For example, the string "AAAAABBC" could be encoded as "5A2B1C", which is shorter. This is effective for data with many repeated values.
260
Why might you choose to compress a folder of documents before emailing it?
Answer:
To reduce the total size of the attachment, making it faster to send and receive, and to keep related files together.
Compressing a folder into a single archive file before emailing has two main benefits: it reduces the overall size, which is helpful for email attachment size limits and for faster transfers, and it consolidates all the files into a single attachment, making it more organized for the recipient.