Search Header Logo

POLYMORPHISM IN C++

Authored by Computer Science

Computers

11th - 12th Grade

Used 20+ times

POLYMORPHISM IN C++
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the correct example of a binary operator?

++(plus plus)

--(minus minus)

Dereferencing operator(*)

+

2.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the Output in this piece of code?

No output

Error

Box 2 has large capacity

3.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

Given the following piece of code, which of the following Function Prototypes should we define in the program?

Media Image
Media Image
Media Image

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of this piece of code?

5500.263

500.2635

500.263

500.266

5.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Media Image

What will be the output of this piece of code?

print derived class

show base class

print derived class

show derived class

Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

The overloaded operator must have at least one operand that is of which type ?

basic type

derived type

user defined type

system defined type

7.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

For overloading unary operator using member function how many argument required?

Zero

One

Two

Three

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?