Question 1

Time: 00:00:00
Which of the following cannot lead to polymorphism?

Operator Overloading

Operator Overloading

Data hiding

Data hiding

Method Overloading

Method Overloading

None of these.

None of these.

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 2

Time: 00:00:00
Data abstraction enables

Data protection

Data protection

Data hiding

Data hiding

Hide implementation details

Hide implementation details

Hide relationship details

Hide relationship details

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 3

Time: 00:00:00
When a class is derived from multiple classes,we call it

Aggregation

Aggregation

Inheritance

Inheritance

Composition

Composition

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 4

Time: 00:00:00
Which class is also known as parent class?

Super

Super

Sub

Sub

New

New

Child

Child

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 5

Time: 00:00:00
Which class is also called as sub class?

Super

Super

Sub

Sub

New

New

Old

Old

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 6

Time: 00:00:00
What will be the output of sqrt(25)?

4

4

5

5

6

6

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 7

Time: 00:00:00
Which entity is the most important in OOPs?

Functions

Functions

Data

Data

Classes

Classes

Objects

Objects

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 8

Time: 00:00:00
What does encapsulation provide?

Data protection

Data protection

Data hiding

Data hiding

Data Sharing

Data Sharing

Data and methods separation

Data and methods separation

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 9

Time: 00:00:00
Which of the following represents an exclusive relationship between two classes?

Composition

Composition

Aggregation

Aggregation

Inheritance

Inheritance

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 10

Time: 00:00:00
Which of the following represents a non-exclusive relationship between two classes?

Composition

Composition

Aggregation

Aggregation

Inheritance

Inheritance

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Get over 200+ Courses under One Subscription

mute

Don’t settle Learn from the Best with PrepInsta Prime Subscription

Learn from Top 1%

One Subscription, For Everything

The new cool way of learning and upskilling -

Limitless Learning

One Subscription access everything

Job Assistance

Get Access to PrepInsta Prime

Top Faculty

from FAANG/IITs/TOP MNC's

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.