Object Oriented Programming

Object Oriented Programming

University

10 Qs

quiz-placeholder

Similar activities

OOP 1 Undiksha

OOP 1 Undiksha

12th Grade - University

13 Qs

INTRODUCTION TO OOPS

INTRODUCTION TO OOPS

University

10 Qs

Object Oriented Programming Quiz

Object Oriented Programming Quiz

University

15 Qs

Java Quiz 1

Java Quiz 1

University

10 Qs

OOC-1

OOC-1

University

10 Qs

object oriented programming

object oriented programming

11th Grade - University

10 Qs

Polymorphism

Polymorphism

University

15 Qs

Inheritance + java

Inheritance + java

University

9 Qs

Object Oriented Programming

Object Oriented Programming

Assessment

Quiz

Computers

University

Medium

Created by

Ragini Kumari

Used 18+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which feature of OOP indicates code reusability?

Abstraction

Polymorphism

Encapsulation

Inheritance

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is associated with objects?

State

Behaviour

Identity

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

The feature in object-oriented programming that allows the same operation to be carried out differently, depending on the object, is:

Inheritance

Polymorphism

Overfunctioning

Overriding

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which among the following feature is not in the general definition of OOPS?

  1. Modularity

  1. Efficient Code

  1. Code reusability

  1. Duplicate or Redundant Data

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

How many types of polymorphism in the C++ programming language?

  1. Three types of polymorphism

  1. Two types of polymorphism

  1. Five types of polymorphism

  1. Four types of polymorphism

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Consider the following two statements: (a)A publicly derived class is a subtype of its base class. (b)Inheritance provides for code reuse.

Both the statements (a) and (b) are correct.

Neither of the statements (a) and (b) are correct

Statement (a) is correct and (b) is incorrect

Statement (a) is incorrect and (b) is correct

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following OOP concept binds the code and data together and keeps them secure from the outside world?

  1. Polymorphism

Inheritance

Abstraction

  1. Encapsulation

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?