2nd Summative-Test-Java-11-for 2nd Quarter
2nd Summative-Test-Java-11-for 2nd Quarter
2nd Summative-Test-Java-11-for 2nd Quarter
Total 20 25
SUMMATIVE TEST
JAVA Programming
Direction: Read carefully the given questions and choose the correct answer. Write your
answer on the answer sheet provided.
1.It is a blueprint for the object. So, we first need to define this before we create an object.
a. Class b. Object c. Room d. Subclass
2. We can think of the class as a sketch (prototype) of a house. It contains all the details about
the floors, doors, windows, etc. Based on these descriptions we build the house. House is the?
a. Class b. Object c. Room d. Subclass
3. Since many houses can be made from the same description, we can create many objects
from this.
a. Class b. Object c. Room d. Subclass
4. These are known as access modifiers.
a. Class and Object c. State and Behavior
b. Private and Public d. Idle and Breaking
5. Fields and methods of a class are also called?
a. Members of the class c. Members of the school
b. Members of the object d. Members of the output
6. It is a block of code that performs a specific task.
a. Directions b. Methods c. Program d. Syntax
7. We can create our own method based on our requirements.
a. Standard Library Methods c. User-defined Methods
b. Standard Syntax Methods d. User interface Methods
8. These are built-in methods in Java that are available to use..
a. Standard Library Methods c. User-defined Methods
b. Standard Syntax Methods d. User interface Methods
9. It specifies what type of value a method returns. For example if a method has an int return
type then it returns an integer value.
a. modifier b. method name c. method body d. returnType
10. It is an identifier that is used to refer to the particular method in a program.
a. modifier b. method name c. method body d. returnType
11. It includes the programming statements that are used to perform some tasks. The method
body is enclosed inside the curly braces { }.
a. modifier b. method name c. method body d. returnType
12. It defines access types whether the method is public, private, and so on.
a. modifier b. method name c. method body d. returnType
1. A
2. B
3. A
4. B
5. A
6. B
7. C
8. A
9. D
10. B
11. C
12. A
13. C
14. B
15. D
16. C
17. D
18. B
19. A
20. A
21. D
22. D
23. D
24. D
25. D