CSS 12 EXAM
CSS 12 EXAM
_____2. When you delete a file from your computer, it is permanently removed from the hard drive
immediately.
_____3. Using keyboard shortcuts can significantly improve your efficiency when performing common
tasks on a computer
_____4. It is safe to turn off your computer by holding down the power button without shutting down
the operating system properly.
_____5. Installing software from unknown sources can pose a security risk to your computer.
_____6. A Solid State Drive (SSD) is typically faster and more durable than a Hard Disk Drive (HDD).
_____7. RAM (Random Access Memory) retains its data even when the computer is turned off.
_____8. External storage devices, like USB flash drives, can be used to transfer data between
computers.
_____9. ROM (Read-Only Memory) is typically used to store the BIOS firmware that boots up the
computer.
_____10. Cloud storage is a type of local storage device that can only be accessed from the device it is
installed on.
18. Which of the following is NOT a valid 25. What is the purpose of the 'final'
way to create an object in Java? keyword when applied to a variable in
a. MyClass obj = new MyClass(); Java?
b. Object obj = a. To make the variable accessible from
Class.forName("MyClass").newInstance(); other classes
c. MyClass obj = MyClass.create(); b. To prevent the variable from being
d. MyClass obj = (MyClass) modified after initialization
serializedObject; c. To allocate memory for the variable
d. To declare the variable as static
19. What is the purpose of the 'break'
statement in a switch-case construct? 26. Which of the following is true about
a. To exit the entire program Java's garbage collection?
b. To skip the current iteration of a loop a. It must be manually triggered by the
c. To terminate the switch statement programmer
d. To continue to the next case without b. It automatically frees memory occupied
checking the condition by unused objects
c. It only works on primitive data types
20. Which of the following is true about d. It is a feature exclusive to enterprise Java
Java's method overloading? applications
a. It allows methods with the same name but
different return types 27. What is the result of 5 + 7 + "Java" in
b. It requires methods to have different Java?
access modifiers a. "12Java"
c. It allows methods with the same name but b. 12Java
different parameter lists c. "5 + 7Java"
d. It can only be applied to static methods d. Compilation error