Quiz on Polymorphism in Object Oriented Programming

Quiz on Polymorphism in Object Oriented Programming

12th Grade

14 Qs

quiz-placeholder

Similar activities

Input Design Quiz

Input Design Quiz

12th Grade

18 Qs

Basics of Coding and AI Applications

Basics of Coding and AI Applications

12th Grade

10 Qs

IoT Quiz 1

IoT Quiz 1

9th Grade - University

9 Qs

Multimedia and ICT Quiz

Multimedia and ICT Quiz

12th Grade

15 Qs

Basics of Coding and AI Applications

Basics of Coding and AI Applications

12th Grade

10 Qs

Mobile Computing Quiz

Mobile Computing Quiz

12th Grade

13 Qs

TẠO BIỂU MẪU TRONG HTML

TẠO BIỂU MẪU TRONG HTML

12th Grade

10 Qs

Pengantar Pemrograman Web

Pengantar Pemrograman Web

11th Grade - University

10 Qs

Quiz on Polymorphism in Object Oriented Programming

Quiz on Polymorphism in Object Oriented Programming

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

Mohd Noor Hafizee Bin Yahaya

Used 6+ times

FREE Resource

14 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does polymorphism mean?

One form

Many forms

Static behavior

Single action

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a real-life example of polymorphism?

A person being a father, husband, and employee

A car being red and fast

A tree growing taller

A book being read

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the main feature of polymorphism in OOP?

Multiple inheritance

Single interface with multiple implementations

Static typing

Dynamic binding

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the term for a class that can refer to a child class object?

Abstract class

Polymorphic class

Parent class

Reference class

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is method overriding?

Changing the method name

Combining two methods

Creating a new method

A child class redefining a method from its parent

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of polymorphism is achieved by method overloading?

Static polymorphism

Compile-time polymorphism

Virtual polymorphism

Dynamic polymorphism

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the 'super' keyword do in method overriding?

Creates a new method

Calls the parent class method

Declares a variable

Overrides the method

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?