Logix Book 10
Part 1 - Introduction to OOP Concepts
I. Objective Type Questions:
1. The process that allows us to perform a single action in different ways is called:
A) Abstraction C) Inheritance
B) Polymorphism D) Encapsulation
2. A feature of Java programming that lets you create classes that are derived from other classes is
called:
A) Polymorphism C) Inheritance
B) Encapsulation D) Abstraction
3. A class inheriting from other class and adding its own methods to it is called:
A) Abstract class C) Super class
B) Sub class D) Main class
4. An object is a/an ____ of a class:
A) child C) interface
B) instance D) parent
PS
5. The state of an object is represented by:
A) Value of attributes
B) Value of parameters
C) Value of arguments
D) Abstraction
6. Hiding the implementation details and showing only functionality to the user is called:
A) Abstraction C) Inheritance
B) Encapsulation D) Polymorphism
7. Pick the incorrect statement.
A) A class is a collection of similar type of objects
B) A class is a blue print of an object
C) A class is a user-defined data type
KI
D) Only one instance can be created from a class
8. The term object is often interchangeable with:
A) attribute C) instance
B) methods D) interface
9. In Procedure Oriented Programming abstraction is at:
A) Function level C) Package level
B) Compiler level D) Object level
10. Select the correct option:
A) An object has attributes C) An object has behaviour
B) An object has a state D) All of the above
11. The acronym OOP stands for
A. Object Oriented Procedure B. Object Oriented Packet
C. Object Orientation Procedure D. Object Oriented Programming
12. The OOP mainly uses
A. Top-down approach B. Bottom-up approach
C. Top-down and bottom-up approach D. None of the above
© Kips Learning Pvt. Ltd 2021
Part 1 - Introduction to OOP Concepts
I. Objective Type Questions:
1. The process that allows us to perform a single action in different ways is called:
A) Abstraction C) Inheritance
B) Polymorphism D) Encapsulation
2. A feature of Java programming that lets you create classes that are derived from other classes is
called:
A) Polymorphism C) Inheritance
B) Encapsulation D) Abstraction
3. A class inheriting from other class and adding its own methods to it is called:
A) Abstract class C) Super class
B) Sub class D) Main class
4. An object is a/an ____ of a class:
A) child C) interface
B) instance D) parent
PS
5. The state of an object is represented by:
A) Value of attributes
B) Value of parameters
C) Value of arguments
D) Abstraction
6. Hiding the implementation details and showing only functionality to the user is called:
A) Abstraction C) Inheritance
B) Encapsulation D) Polymorphism
7. Pick the incorrect statement.
A) A class is a collection of similar type of objects
B) A class is a blue print of an object
C) A class is a user-defined data type
KI
D) Only one instance can be created from a class
8. The term object is often interchangeable with:
A) attribute C) instance
B) methods D) interface
9. In Procedure Oriented Programming abstraction is at:
A) Function level C) Package level
B) Compiler level D) Object level
10. Select the correct option:
A) An object has attributes C) An object has behaviour
B) An object has a state D) All of the above
11. The acronym OOP stands for
A. Object Oriented Procedure B. Object Oriented Packet
C. Object Orientation Procedure D. Object Oriented Programming
12. The OOP mainly uses
A. Top-down approach B. Bottom-up approach
C. Top-down and bottom-up approach D. None of the above
© Kips Learning Pvt. Ltd 2021