Question 1

Time: 00:00:00
Which among the following best describes polymorphism?

It is the ability for a message/data to be processed in more than one form

It is the ability for a message/data to be processed in more than one form

It is the ability for a message/data to be processed in only 1 form

It is the ability for a message/data to be processed in only 1 form

It is the ability for many messages/data to be processed in one way

It is the ability for many messages/data to be processed in one way

It is the ability for undefined message/data to be processed in at least one way

It is the ability for undefined message/data to be processed in at least one way

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

Please login to submit your explanation

Question 2

Time: 00:00:00
If same message is
passed to objects of several different classes and all of those can respond in
a different way, what is this feature called?

Inheritance

Inheritance

Overloading

Overloading

Polymorphism

Polymorphism

Overriding

Overriding

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

Please login to submit your explanation

Question 3

Time: 00:00:00
Which type of function among the following shows polymorphism?

Inline function

Inline function

Virtual function

Virtual function

Undefined functions

Undefined functions

Class member functions

Class member functions

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

Please login to submit your explanation

Question 4

Time: 00:00:00
In case of using abstract class or function overloading, which function is supposed to be called first?

Local function

Local function

Function with highest priority in compiler

Function with highest priority in compiler

Global function

Global function

Function with lowest priority because it might have been halted since long time, because of low priority

Function with lowest priority because it might have been halted since long time, because of low priority

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

Please login to submit your explanation

Question 5

Time: 00:00:00
Which among the following can’t be used for polymorphism?

Static member functions

Static member functions

Member functions overloading

Member functions overloading

Predefined operator overloading

Predefined operator overloading

Constructor overloading

Constructor overloading

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

Please login to submit your explanation

Question 6

Time: 00:00:00
Which among the following can show polymorphism?

Overloading ||

Overloading ||

Overloading +=

Overloading +=

Overloading <<

Overloading <<

Overloading &&

Overloading &&

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

Please login to submit your explanation

Question 7

Time: 00:00:00
Polymorphism is possible in C language.

True

True

False

False

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

Please login to submit your explanation

Question 8

Time: 00:00:00
Which among the following is not true for polymorphism?

It is feature of OOP

It is feature of OOP

Ease in readability of program

Ease in readability of program

Helps in redefining the same functionality

Helps in redefining the same functionality

Increases overhead of function definition always

Increases overhead of function definition always

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

Please login to submit your explanation

Question 9

Time: 00:00:00
Compile time polymorphism in C++ language are

Operator overloading

Operator overloading

Function overloading

Function overloading

Function overriding

Function overriding

B Only

B Only

A & B

A & B

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

Please login to submit your explanation

Question 10

Time: 00:00:00
When a class serves as base class for many derived classes, the situation is called:

polymorphism

polymorphism

hierarchical inheritance

hierarchical inheritance

hybrid inheritance

hybrid inheritance

multipath inheritance

multipath inheritance

none of these

none of these

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.