OOP Concepts Quiz

OOP Concepts Quiz

University

50 Qs

quiz-placeholder

Similar activities

DS303

DS303

University

50 Qs

TECHNO FQ TNF 50

TECHNO FQ TNF 50

University

50 Qs

PF-SIA-IT3102

PF-SIA-IT3102

University

50 Qs

AWS Practice Exam

AWS Practice Exam

University

50 Qs

Câu hỏi trắc nghiệm về CSS và HTML đề 4

Câu hỏi trắc nghiệm về CSS và HTML đề 4

University

50 Qs

Mờ lờ

Mờ lờ

University

51 Qs

ບົດເສັງທ້າຍພາກວິຊາ MP

ບົດເສັງທ້າຍພາກວິຊາ MP

University

50 Qs

CCNA 2 final exam part 2

CCNA 2 final exam part 2

University

54 Qs

OOP Concepts Quiz

OOP Concepts Quiz

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Hard

Created by

Irish Dajero

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A hospital system has classes Doctor, Nurse, and Staff. They all inherit from the class Employee. What OOP concept is applied?

Encapsulation

Abstraction

Polymorphism

Inheritance

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A method named PaySalary() responds differently depending on whether an object is of type FullTimeEmployee or PartTimeEmployee. This is an example of:

Abstraction

Inheritance

Polymorphism

Encapsulation

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

A programmer makes fields private and uses get and set methods. Which OOP pillar is shown?

Inheritance

Encapsulation

Polymorphism

Abstraction

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The process of hiding complex systems and showing only essential features is called:

Abstraction

Encapsulation

Polymorphism

Overriding

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

In C#, class Car : Vehicle means:

Encapsulation

Inheritance

Polymorphism

Abstraction

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

The ability for the same method Draw() to behave differently in Circle, Rectangle, and Triangle subclasses demonstrates:

Encapsulation

Inheritance

Abstraction

Polymorphism

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

An ATM machine only showing user functions like Withdraw and Deposit is…

Encapsulation

Inheritance

Polymorphism

Abstraction

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?