Please login

Prime

Prepinsta Prime

Video courses for company/skill based Preparation

(Check all courses)
Get Prime Video
Prime

Prepinsta Prime

Purchase mock tests for company/skill building

(Check all mocks)
Get Prime mock

Aricent Polymorphism Quiz-1

Question 1

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

Start

Question 2

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

Start

Question 3

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

Start

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

Start

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

Start

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

Start

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

Start

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

Start

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

Start

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

Start

["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"]

Completed

0/0

Accuracy

0%

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%

Comments