oops bootcamp

oops bootcamp

University

10 Qs

quiz-placeholder

Similar activities

Introduction à l’ingénierie dirigée par les modèles

Introduction à l’ingénierie dirigée par les modèles

University

7 Qs

Quiz PBO

Quiz PBO

University

7 Qs

Quizz cours FITR - Dask

Quizz cours FITR - Dask

University

5 Qs

Traditional vs OO Appraoch

Traditional vs OO Appraoch

University

9 Qs

Quiz OOP

Quiz OOP

University

10 Qs

oop intro class & object

oop intro class & object

University

15 Qs

Materi Berpikir Komputasional

Materi Berpikir Komputasional

9th Grade - University

10 Qs

UML and System Modeling Quiz

UML and System Modeling Quiz

12th Grade - 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?