Question 1

Time: 00:00:00
Which of the following is not a valid type of polymorphism?

adhoc polymorphism

adhoc polymorphism

imperative polymorphism

imperative polymorphism

predicative polymorphism

predicative polymorphism

inclusion polymorphism

inclusion polymorphism

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

Please login to submit your explanation

Question 2

Time: 00:00:00
What is the function used to describe the situation, when a function in base class is redefined in inherited class?

Inheritance

Inheritance

Overriding

Overriding

Overloading

Overloading

Encapsulation

Encapsulation

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

Please login to submit your explanation

Question 3

Time: 00:00:00
How can a call to an overloaded function be ambiguous?

Binary search tree

Binary search tree

AVL tree

AVL tree

Completely balanced tree

Completely balanced tree

Heap

Heap

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

Please login to submit your explanation

Question 4

Time: 00:00:00
A complete binary tree with the property that the value at each node is at least as large as the values at its children is known as

Virtual polymorphism

Virtual polymorphism

Transient polymorphism

Transient polymorphism

Ad-hoc polymorphism

Ad-hoc polymorphism

Pseudo polymorphism

Pseudo polymorphism

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

Please login to submit your explanation

Question 5

Time: 00:00:00
Which of the following correctly describes overloading of functions?

[]

[]

->

->

?:

?:

*

*

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

Please login to submit your explanation

Question 6

Time: 00:00:00
Which of the following operator is overloaded for object cout?

Operator overloading

Operator overloading

Function overloading

Function overloading

Templates

Templates

All of the above

All 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 of the following operators cannot be overloaded?

Overload

Overload

Operator

Operator

Friend

Friend

Override

Override

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

Please login to submit your explanation

Question 8

Time: 00:00:00
Which of the following is a mechanism of static polymorphism?

must be a member function

must be a member function

must be a non member function

must be a non member function

can be both (A) & (B) above

can be both (A) & (B) above

cannot be overloaded

cannot be overloaded

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 keyword is used to overload an operator?

By misspelling the name

By misspelling the name

There might be two or more functions with the same name

There might be two or more functions with the same name

There might be two or more functions with equally appropriate argument

There might be two or more functions with equally appropriate argument

None of these

None of these

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

Please login to submit your explanation

Question 10

Time: 00:00:00
The operator << when overloaded in a class

>>

>>

<<

<<

+

+

=

=

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! \r\n \r\n \r\n","Keep trying! \r\n \r\n \r\n","Not bad! \r\n \r\n \r\n","Good work! \r\n \r\n \r\n","Perfect! \r\n \r\n \r\n"]

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.

Comments