Podcast
Questions and Answers
According to the open–closed principle, software entities should be:
According to the open–closed principle, software entities should be:
- Open for both extension and modification
- Closed for both extension and modification
- Open for extension, but closed for modification (correct)
- Open for modification, but closed for extension
The open–closed principle is part of which set of object-oriented design principles?
The open–closed principle is part of which set of object-oriented design principles?
- SOLID (correct)
- YAGNI
- DRY
- KISS
What will a module be said to be if it is still available for extension, according to Meyer's open–closed principle?
What will a module be said to be if it is still available for extension, according to Meyer's open–closed principle?
- Closed
- Limited
- Open (correct)
- Restricted
Who is credited for originating the term open–closed principle?
Who is credited for originating the term open–closed principle?
How does the open–closed principle use generalizations to resolve the apparent dilemma?
How does the open–closed principle use generalizations to resolve the apparent dilemma?
What is a disease primarily associated with?
What is a disease primarily associated with?
What can cause a disease?
What can cause a disease?
What can internal dysfunctions of the immune system produce?
What can internal dysfunctions of the immune system produce?
In humans, what does the term 'disease' often refer to more broadly?
In humans, what does the term 'disease' often refer to more broadly?
In the broader sense, what can 'disease' include?
In the broader sense, what can 'disease' include?