Search Header Logo
Polymorphism in C# Quiz

Polymorphism in C# Quiz

Assessment

Interactive Video

Computers

9th - 10th Grade

Practice Problem

Hard

Created by

Jennifer Brown

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main topic of this tutorial series part?

Encapsulation

Polymorphism

Abstraction

Inheritance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'poly' in polymorphism mean?

Few

None

Many

Single

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In object-oriented programming, what does polymorphism allow?

A class to have multiple constructors

A class to take many forms

A class to have multiple destructors

A class to have multiple interfaces

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an example of polymorphism?

A class with multiple properties

A class with a method that can be overridden

A class inheriting from another class

A class with multiple methods

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What keyword is used to allow a method to be overridden in a derived class?

sealed

final

virtual

static

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which modifier is used to change the implementation of a method in a derived class?

sealed

new

override

abstract

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is required for a method to be overridden in a derived class?

The method must be private

The method must be marked as virtual or abstract

The method must be static

The method must be sealed

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?