Object Oriented Concepts
Get Notes Tests and Assignments for Object Oriented Concepts General Awareness Computer Applications
Questions
The objective of object oriented programming is
- to manage the complexities of a software
- to increase the complexity of a software
- to implement procedures
- none of these
Which of the following is a way of handling software complexities?
- Top-Down
- Bottom-Up
- Top-Down and Bottom-up
- None of the above
Design approach is top down , where the entire education is divided into ________ units
- smaller
- larger
- infinite
- none of these
A Primary rule of object oriented programming is that as the user of an object ________
- you would never need to know what is there inside the object
- everything is defined in the object
- you would interact with other objects
- none of these
Object can be viewed as a ______which receives and sends messages.
- white box
- black box
- reference box
- none of these
Modules are ______ due to which the same module can not be reused in another scenario
- highly -coupled
- loosely coupled
- not coupled
- none of these
_________refers to the manner and degree of independence between software modules
- Cohesion
- Coupling
- De-Coupling
- None of these
Encapsulation also means ______
- abstraction
- data hiding
- information access
- none of these
The process of formatting general and relevant concepts from a more complex scenario is called______
- data hiding
- abstraction
- encapsulation
- none of these
In object oriented programming, _______ is used to give control to an object.
- message passing
- direct accessing
- object passing
- none of these
______ symbol indicates the protected access specifier.
- +
- -
- #
- $
Variant of Has-A relationship is -----------
- association
- aggregation
- generalisation
- none of these
Encapsulation can be implemented using the concept of _______
- public specifiers
- private specifiers
- access specifiers
- none of the above
If a class is a subset of another class, the relationship is called________relationship
- Has-A
- Is-A
- User-A
- none of these
User-A relationship is______
- loosely coupled
- tightly coupled
- can be either loosely or tightly coupled
- none of these
_______ refers to a class replicating some features or properties from another class
- Abstraction
- Inheritance
- Polymorphism
- Data hiding
Derived class can access _______ members
- only public
- private and public
- only protected
- public and protected
Process of identifying the similarities among different classes is called as _______
- Specialisation
- Generalisation
- Abstraction
- Overloading
_____refers to an object's ability to behave differently depending on its type
- Polymorphism
- Inheritance
- Abstraction
- Data hiding
Which of the following statements is TRUE about inheritance?
- It promotes reusability
- It has restricted use
- It makes a program slower
- It breaks a program into smaller parts
_______refers to the practice of providing a different implementation of a method in the derived class.
- Method overloading
- Method overriding
- Abstraction
- Data hiding
If a class inherits from more than one base class ,it is called as _______
- multiple inheritance
- single inheritance
- multi level inheritance
- hybrid inheritance
Practice of using same method name to denote several different operations is called_______
- overloading
- overriding
- data hiding
- abstraction
________ class provides method signatures without implementation
- Data class
- Base class
- Abstract class
- Derived class
Polymorphism can be achieved by _______
- function overloading
- function overriding
- both 1 and 2
- none of these