0

Object Oriented Concepts

Description: Get Notes Tests and Assignments for Object Oriented Concepts General Awareness Computer Applications
Number of Questions: 25
Created by:
Tags: Object Oriented Concepts General Awareness Computer Applicatns C Programming C++ Concepts Software ProgramingOOPS Concepts General Awareness and Computer Applications Computer Applications (New)
Attempted 0/25 Correct 0 Score 0

The objective of object oriented programming is

  1. to manage the complexities of a software

  2. to increase the complexity of a software

  3. to implement procedures

  4. none of these


Correct Option: A

Which of the following is a way of handling software complexities?

  1. Top-Down

  2. Bottom-Up

  3. Top-Down and Bottom-up

  4. None of the above


Correct Option: C

Design approach is top down , where the entire education is divided into ________ units

  1. smaller

  2. larger

  3. infinite

  4. none of these


Correct Option: A

A Primary rule of object oriented programming is that as the user of an object ________

  1. you would never need to know what is there inside the object

  2. everything is defined in the object

  3. you would interact with other objects

  4. none of these


Correct Option: A

Object can be viewed as a ______which receives and sends messages.

  1. white box

  2. black box

  3. reference box

  4. none of these


Correct Option: B

Modules are ______ due to which the same module can not be reused in another scenario

  1. highly -coupled

  2. loosely coupled

  3. not coupled

  4. none of these


Correct Option: A

_________refers to the manner and degree of independence between software modules

  1. Cohesion

  2. Coupling

  3. De-Coupling

  4. None of these


Correct Option: B

Encapsulation also means ______

  1. abstraction

  2. data hiding

  3. information access

  4. none of these


Correct Option: B

The process of formatting general and relevant concepts from a more complex scenario is called______

  1. data hiding

  2. abstraction

  3. encapsulation

  4. none of these


Correct Option: B

In object oriented programming, _______ is used to give control to an object.

  1. message passing

  2. direct accessing

  3. object passing

  4. none of these


Correct Option: A

______ symbol indicates the protected access specifier.

  1. +

  2. -

  3. #

  4. $


Correct Option: C

Variant of Has-A relationship is -----------

  1. association

  2. aggregation

  3. generalisation

  4. none of these


Correct Option: B

Encapsulation can be implemented using the concept of _______

  1. public specifiers

  2. private specifiers

  3. access specifiers

  4. none of the above


Correct Option: C

If a class is a subset of another class, the relationship is called________relationship

  1. Has-A

  2. Is-A

  3. User-A

  4. none of these


Correct Option: B

User-A relationship is______

  1. loosely coupled

  2. tightly coupled

  3. can be either loosely or tightly coupled

  4. none of these


Correct Option: A

_______ refers to a class replicating some features or properties from another class

  1. Abstraction

  2. Inheritance

  3. Polymorphism

  4. Data hiding


Correct Option: B

Derived class can access _______ members

  1. only public

  2. private and public

  3. only protected

  4. public and protected


Correct Option: D

Process of identifying the similarities among different classes is called as _______

  1. Specialisation

  2. Generalisation

  3. Abstraction

  4. Overloading


Correct Option: B

_____refers to an object's ability to behave differently depending on its type

  1. Polymorphism

  2. Inheritance

  3. Abstraction

  4. Data hiding


Correct Option: A

Which of the following statements is TRUE about inheritance?

  1. It promotes reusability

  2. It has restricted use

  3. It makes a program slower

  4. It breaks a program into smaller parts


Correct Option: A

_______refers to the practice of providing a different implementation of a method in the derived class.

  1. Method overloading

  2. Method overriding

  3. Abstraction

  4. Data hiding


Correct Option: B

If a class inherits from more than one base class ,it is called as _______

  1. multiple inheritance

  2. single inheritance

  3. multi level inheritance

  4. hybrid inheritance


Correct Option: A

Practice of using same method name to denote several different operations is called_______

  1. overloading

  2. overriding

  3. data hiding

  4. abstraction


Correct Option: A

________ class provides method signatures without implementation

  1. Data class

  2. Base class

  3. Abstract class

  4. Derived class


Correct Option: C

Polymorphism can be achieved by _______

  1. function overloading

  2. function overriding

  3. both 1 and 2

  4. none of these


Correct Option: C
- Hide questions