Question Bank

3705 approved questions from the community

In Microservices architecture, isolation means that a failure in one service is less likely to affect other services compared to Monolithic architecture.

HARD
TRUE FALSE
30s
Software Architecture
by Mohamed

In the MVC pattern interaction flow, what typically initiates the cycle?

HARD
SINGLE CHOICE
40s
Software Architecture
by Mohamed

What is the Single Responsibility Principle (SRP) in relation to cohesion?

HARD
SINGLE CHOICE
40s
OOP
by Mohamed

What type of polymorphism is method overriding?

MEDIUM
SINGLE CHOICE
30s
OOP
by Mohamed

What type of polymorphism is method overloading?

MEDIUM
SINGLE CHOICE
30s
OOP
by Mohamed

What is a mixin in object-oriented programming?

MEDIUM
SINGLE CHOICE
35s
OOP
by Mohamed

What is dynamic dispatch in the context of polymorphism?

HARD
SINGLE CHOICE
40s
OOP
by Mohamed

Which of the following are core principles of Object-Oriented Programming? (Select all that apply)

EASY
MULTIPLE CHOICE
40s
OOP
by Mohamed

Which access specifier makes class members globally accessible to all classes?

EASY
SINGLE CHOICE
25s
OOP
by Mohamed

What relationship does inheritance establish between classes?

MEDIUM
SINGLE CHOICE
30s
OOP
by Mohamed

What is cohesion in OOP?

MEDIUM
SINGLE CHOICE
35s
OOP
by Mohamed

What is coupling in OOP?

MEDIUM
SINGLE CHOICE
35s
OOP
by Mohamed

What relationship does composition establish between classes?

MEDIUM
SINGLE CHOICE
30s
OOP
by Mohamed

What is a constructor in OOP?

MEDIUM
SINGLE CHOICE
30s
OOP
by Mohamed

What is a destructor or finalizer in OOP?

MEDIUM
SINGLE CHOICE
30s
OOP
by Mohamed

What is the difference between method overloading and method overriding?

MEDIUM
SINGLE CHOICE
35s
OOP
by Mohamed

What is the difference between an abstract class and an interface?

HARD
SINGLE CHOICE
40s
OOP
by Mohamed

What is the difference between composition and inheritance?

HARD
SINGLE CHOICE
40s
OOP
by Mohamed

What is abstraction in OOP?

EASY
SINGLE CHOICE
30s
OOP
by Mohamed

Which of the following are benefits of Object-Oriented Programming? (Select all that apply)

EASY
MULTIPLE CHOICE
40s
OOP
by Mohamed
PreviousPage 24 of 186Next