oops bootcamp

oops bootcamp

University

10 Qs

quiz-placeholder

Similar activities

Asemen akhir

Asemen akhir

10th Grade - University

10 Qs

OOP-Q1

OOP-Q1

University

10 Qs

Database Management Quiz

Database Management Quiz

University

14 Qs

Java_Quiz_Part_2

Java_Quiz_Part_2

University

12 Qs

Object-Oriented Design Quiz

Object-Oriented Design Quiz

University

15 Qs

Understanding OOP Principles

Understanding OOP Principles

University

5 Qs

CHAPTER 1: OOP

CHAPTER 1: OOP

University

15 Qs

oops bootcamp

oops bootcamp

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Abc Xy

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which OOP concept allows multiple methods with the same name but different parameters?

Method overriding

Method overloading

Encapsulation

Inheritance

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key benefit of polymorphism?

Code reusability

Single interface for different behaviors

Faster execution

Reduced memory usage

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the process of hiding internal details and showing only functionality called?

Abstraction

 Encapsulation

Polymorphism

 Inheritance

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which concept allows a class to derive properties from another class?

Encapsulation

 Polymorphism

Inheritance

 Abstraction

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the relationship between a superclass and a subclass?

"Has-a" relationship

"Is-a" relationship

"Uses-a" relationship

"Implements-a" relationship

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which design pattern decouples an abstraction from its implementation?

Adapter

Bridge

Proxy

Decorator

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Why can’t a constructor be abstract?

Constructors are inherently static

Constructors are meant to initialize objects, but abstract classes can’t be instantiated

It violates encapsulation

It’s a syntax restriction with no logical reason

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?