
OOP - Inheritance & Polymorphism

Quiz
•
Computers
•
University
•
Hard
wan razali
Used 80+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is OOP?
Object Oriented Procedure
Object Orientation Programming
Object Oriented Programming
Oriented Object Programming
2.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Why OOP is important?
To create modular software
To reduce development time as it can be reused easily
To create faster application
To minimize bugs as easier to create unit test to a small or atomic methods
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What are the main features of OOP?
1) Inheritance
2) Encapsulation
3) Data Abstraction
4) Polymorphism
1) Inheritance
2) Encapsulation
3) Interface
4) Polymorphism
1) Inheritance
2) Class & Objects
3) Data Abstraction
4) Polymorphism
1) Inheritance
2) Encapsulation
3) Design pattern
4) Polymorphism
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What are class & object?
1) class - where keyword 'class' is used to define an object
2) object - is when class is used in the program
1) class - a user defined data type with its data members and functions
2) object - an instance of a class where memory is allocated
1) class - an instance of object where memory is allocated
2) object - a user defined data type with its data members and functions
1) class & object can be used interchangeably. It is same thing where a user defined data type with its data members and functions
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is inheritance?
Hiding the internal details or mechanics of how an object does something for security reasons.
A contract to follow without going into implementation
It is a mechanism where you can to derive a class from another class for a hierarchy of classes that share a set of attributes and methods.
It is an instance of a class where a class can have multiple instances with different attributes values
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is Polymorphism?
Association is a relationship between two objects
The composing object holds an external link to the composing classes, and therefore composition is loosely bound.
The subclass did not inherit a private method’s properties, and therefore it cannot be overridden.
A class that can take on multiple forms.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are type of inheritance?
Single Inheritance, Multiple Inheritance
Hierarchical Inheritance, Single Inheritance, Multiple Inheritance
Hybrid Inheritance, Single Inheritance
Hierarchical Inheritance, Hybrid Inheritance, Single Inheritance, Multiple Inheritance, Multilevel Inheritance
Create a free account and access millions of resources
Similar Resources on Wayground
25 questions
Workshop Quiz

Quiz
•
University
15 questions
Quiz on Object-Oriented Programming in C++

Quiz
•
University
25 questions
Exploring Programming Language Concepts

Quiz
•
University
15 questions
CS8592 - OOAD - UNIT II - QUIZ IV

Quiz
•
University
20 questions
Quiz on Java

Quiz
•
University
25 questions
JAVA BASICS

Quiz
•
University
15 questions
Java Bootcamp Day 4

Quiz
•
University
25 questions
Java - SET -1

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University