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
4291
If you move a file from one directory to another on the *same* hard drive partition, what does the operating system typically do?
Answer:
It simply updates the file's pointer in the directory structure without moving the actual data
When moving within the same volume, the OS can perform the operation almost instantly by just changing the file's metadata to point to the new directory. The file's data block on the disk doesn't move.
4292
The process of restoring a compressed file to its original state is called:
Answer:
Extraction
Extraction, or decompression, reverses the compression process.
4293
On a multi-user operating system, who is typically the "owner" of a file?
Answer:
The user who created the file.
By default, the user account that creates a file is set as the owner of that file. The owner usually has special privileges, such as the ability to change the permissions for that file.
4294
The "system" file attribute in Windows indicates that the file is:
Answer:
A critical operating system file that should not be deleted or modified
Files with the system attribute are protected by the OS and are typically hidden to prevent accidental changes that could destabilize the system.
4295
What happens when you attempt to create a folder with a name that already exists in the same location?
Answer:
The OS displays an error message preventing the creation
Just like files, directories must have unique names within their parent directory. The operating system will prevent you from creating a duplicate.
4296
Which file extension would you expect for a standard spreadsheet file created with Microsoft Excel?
Answer:
.xlsx
The ".xlsx" extension is the standard for Microsoft Excel spreadsheets since Excel 2007. It denotes a file containing data in a grid of cells, formulas, and other spreadsheet features.
4297
Which operation combines "copy" and "delete" of the original file?
Answer:
Move (when across different volumes)
When a file is moved from one disk to another (e.g., from C: to D:), the OS must physically copy the data to the new disk and then delete the original file from the source disk.
4298
The top-level directory in the file system hierarchy is unique because:
Answer:
Both A and B
The root directory is the ultimate container for the entire file system and, by definition, has no directory above it in the hierarchy.
4299
The term "path" in a file system refers to:
Answer:
The sequence of directories that must be navigated to locate a specific file or directory
A path is a unique address for a file or folder, showing the route from the root directory to that specific item.
4300
What is the fundamental difference between "copying" and "moving" a file?
Answer:
Moving relocates the original file to a new location; copying creates a duplicate and leaves the original
A move operation changes the file's location. A copy operation results in two identical files in two different locations.