POLYMORPHISM IN C++

POLYMORPHISM IN C++

11th - 12th Grade

10 Qs

quiz-placeholder

Similar activities

Arduino Programming

Arduino Programming

7th - 12th Grade

12 Qs

Java Code Questions

Java Code Questions

9th Grade - University

11 Qs

C#

C#

11th Grade

10 Qs

AP Computer Science A Review 1

AP Computer Science A Review 1

10th - 12th Grade

15 Qs

8.12 C++ Test on Classes

8.12 C++ Test on Classes

9th - 12th Grade

15 Qs

Conditional operator (12-1AVI)

Conditional operator (12-1AVI)

12th Grade

9 Qs

C program

C program

12th Grade

10 Qs

Polymorphism in C++

Polymorphism in C++

11th - 12th Grade

10 Qs

POLYMORPHISM IN C++

POLYMORPHISM IN C++

Assessment

Quiz

Computers

11th - 12th Grade

Medium

Created by

Computer Science

Used 17+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?