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
241
What is the file extension for Java program files?
Answer:
.java
Java source files use the .java extension before compilation.
242
If you change a file's extension from ".jpg" to ".txt", what happens to the file's content?
Answer:
The file's content remains the same, but the operating system will try to open it with a text editor.
Changing a file's extension does not alter its underlying data. However, it changes how the operating system perceives the file. The OS will attempt to open the file with the default application for the new extension, which will likely result in an error or display unreadable data if the content and the extension do not match.
243
Deleted files are stored in:
Answer:
Recycle Bin
The Recycle Bin temporarily stores deleted files until they are permanently removed.
244
If you have a folder named `Photos` on your desktop, and your username is `test`, a possible file path on Windows would be:
Answer:
`C:\Users\test\Desktop\Photos`
On Windows, user profiles are typically stored in the `C:\Users` directory, with the desktop being a subfolder of the user's profile folder.
245
What is the "move" file operation?
Answer:
It changes the location of a file or folder from one directory to another.
The move operation relocates a file or folder to a new directory. Unlike the copy operation, the original file or folder is removed from its original location.
246
What do file permissions on a *directory* typically control?
Answer:
The ability to view, create, or delete files within that directory.
Directory permissions govern access to the contents of the directory itself.
247
Dragging a file from a folder on your hard drive to a folder on a USB flash drive will perform which operation?
Answer:
Copy
When dragging and dropping files between two different storage volumes (like an internal hard drive and an external USB drive), the default operation is to copy the file, leaving the original in place.
248
What type of file is typically represented by the ".jpg" or ".jpeg" extension?
Answer:
An image file
".jpg" and ".jpeg" are common extensions for digital images that use a lossy compression method, making them popular for photographs on the web.
249
In the file path `C:\Users\John\Documents\report.docx` on a Windows system, which part is the root directory?
Answer:
`C:\`
On Windows, the root directory is represented by the drive letter followed by a colon and a backslash, such as `C:\`. This is the starting point for the entire file system on that drive.
250
What does PDF stand for?
Answer:
Portable Document Format
PDFs ensure consistent formatting across devices and platforms.