Search Header Logo

C++ Object-Oriented Programming Quiz

Authored by Rabnawaz Shaikh

Information Technology (IT)

University

Used 4+ times

C++ Object-Oriented Programming Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

55 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which feature of OOP allows the same function name to have different implementations?

Abstraction

Polymorphism

Encapsulation

Inheritance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which C++ feature helps avoid code duplication?

Inheritance

Virtual functions

Operator overloading

Destructors

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is used to free memory allocated with new?

free()

delete

remove()

clear()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these concepts binds code and data together?

Polymorphism

Encapsulation

Abstraction

Overloading

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The process of defining more than one function with the same name but different parameters is called:

Function overriding

Function overloading

Operator overloading

Inheritance

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following supports runtime polymorphism?

Virtual functions

Function overloading

Operator overloading

Inline functions

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Virtual functions are declared using:

virtual keyword

dynamic keyword

override keyword

polymorphic keyword

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?