Object Oriented Concepts

Get Notes Tests and Assignments for Object Oriented Concepts General Awareness Computer Applications

25 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

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
Question 2 Multiple Choice (Single Answer)

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
Question 3 Multiple Choice (Single Answer)

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

  1. smaller
  2. larger
  3. infinite
  4. none of these
Question 4 Multiple Choice (Single Answer)

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
Question 5 Multiple Choice (Single Answer)

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

  1. white box
  2. black box
  3. reference box
  4. none of these
Question 6 Multiple Choice (Single Answer)

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
Question 7 Multiple Choice (Single Answer)

_________refers to the manner and degree of independence between software modules

  1. Cohesion
  2. Coupling
  3. De-Coupling
  4. None of these
Question 8 Multiple Choice (Single Answer)

Encapsulation also means ______

  1. abstraction
  2. data hiding
  3. information access
  4. none of these
Question 9 Multiple Choice (Single Answer)

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
Question 10 Multiple Choice (Single Answer)

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
Question 11 Multiple Choice (Single Answer)

______ symbol indicates the protected access specifier.

  1. +
  2. -
  3. #
  4. $
Question 12 Multiple Choice (Single Answer)

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

  1. association
  2. aggregation
  3. generalisation
  4. none of these
Question 13 Multiple Choice (Single Answer)

Encapsulation can be implemented using the concept of _______

  1. public specifiers
  2. private specifiers
  3. access specifiers
  4. none of the above
Question 14 Multiple Choice (Single Answer)

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
Question 15 Multiple Choice (Single Answer)

User-A relationship is______

  1. loosely coupled
  2. tightly coupled
  3. can be either loosely or tightly coupled
  4. none of these
Question 16 Multiple Choice (Single Answer)

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

  1. Abstraction
  2. Inheritance
  3. Polymorphism
  4. Data hiding
Question 17 Multiple Choice (Single Answer)

Derived class can access _______ members

  1. only public
  2. private and public
  3. only protected
  4. public and protected
Question 18 Multiple Choice (Single Answer)

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

  1. Specialisation
  2. Generalisation
  3. Abstraction
  4. Overloading
Question 19 Multiple Choice (Single Answer)

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

  1. Polymorphism
  2. Inheritance
  3. Abstraction
  4. Data hiding
Question 20 Multiple Choice (Single Answer)

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
Question 21 Multiple Choice (Single Answer)

_______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
Question 22 Multiple Choice (Single Answer)

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
Question 23 Multiple Choice (Single Answer)

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

  1. overloading
  2. overriding
  3. data hiding
  4. abstraction
Question 24 Multiple Choice (Single Answer)

________ class provides method signatures without implementation

  1. Data class
  2. Base class
  3. Abstract class
  4. Derived class
Question 25 Multiple Choice (Single Answer)

Polymorphism can be achieved by _______

  1. function overloading
  2. function overriding
  3. both 1 and 2
  4. none of these