Question Bank

1899 approved questions from the community

Which of the following are elements of good software architecture? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
Software Architecture
by Mohamed

What does the Liskov Substitution Principle state?

MEDIUM
SINGLE CHOICE
35s
Software Architecture
by Mohamed

Availability as a quality attribute is often expressed as a percentage of time the system is expected to be operational, such as '99.99% uptime'.

MEDIUM
TRUE FALSE
25s
Software Architecture
by Mohamed

What is the Publish-Subscribe (Pub-Sub) pattern?

MEDIUM
SINGLE CHOICE
35s
Software Architecture
by Mohamed

Thread safety in Singleton implementation can be complex and, if done incorrectly, lead to performance bottlenecks or data inconsistencies.

MEDIUM
TRUE FALSE
30s
Software Architecture
by Mohamed

The SOLID principles are guidelines that help enhance code readability, reusability, and maintainability in object-oriented programming.

MEDIUM
TRUE FALSE
25s
Software Architecture
by Mohamed

What is the principle of least knowledge, also known as the Law of Demeter?

MEDIUM
SINGLE CHOICE
35s
Software Architecture
by Mohamed

Software architecture operates on high-level abstractions focusing on the overall system, while design deals with low-level abstractions and detailed mechanisms.

MEDIUM
TRUE FALSE
25s
Software Architecture
by Mohamed

What does the Single Responsibility Principle mean?

MEDIUM
SINGLE CHOICE
30s
Software Architecture
by Mohamed

What does the Interface Segregation Principle advocate?

MEDIUM
SINGLE CHOICE
35s
Software Architecture
by Mohamed

Which of the following are quality factors in software architecture? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
Software Architecture
by Mohamed

What is a potential limitation of the MVC pattern?

MEDIUM
SINGLE CHOICE
35s
Software Architecture
by Mohamed

The Singleton pattern can lead to tight coupling throughout the codebase due to global state.

MEDIUM
TRUE FALSE
25s
Software Architecture
by Mohamed

Testability is the degree to which a system facilitates the generation of test cases and testing processes.

MEDIUM
TRUE FALSE
25s
Software Architecture
by Mohamed

Which of the following are access specifiers commonly used in OOP? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
40s
OOP
by Mohamed

Which of the following are ways to achieve method overloading? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
OOP
by Mohamed

What is coupling in OOP?

MEDIUM
SINGLE CHOICE
35s
OOP
by Mohamed

Which of the following are characteristics of constructors? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
OOP
by Mohamed

What relationship does inheritance establish between classes?

MEDIUM
SINGLE CHOICE
30s
OOP
by Mohamed

Which of the following are purposes of destructors in OOP? (Select all that apply)

MEDIUM
MULTIPLE CHOICE
45s
OOP
by Mohamed
PreviousPage 11 of 95Next