0 оценок0% нашли этот документ полезным (0 голосов)
60 просмотров3 страницы
The document summarizes an assessment on software design patterns that scored 57% (4 out of 7 points). It lists multiple choice questions about principles like the Dependency Inversion Principle, Open-Close Principle, and Single Responsibility Principle. The last question asks to identify the third basic categorization of software design patterns as Behavioral.
The document summarizes an assessment on software design patterns that scored 57% (4 out of 7 points). It lists multiple choice questions about principles like the Dependency Inversion Principle, Open-Close Principle, and Single Responsibility Principle. The last question asks to identify the third basic categorization of software design patterns as Behavioral.
The document summarizes an assessment on software design patterns that scored 57% (4 out of 7 points). It lists multiple choice questions about principles like the Dependency Inversion Principle, Open-Close Principle, and Single Responsibility Principle. The last question asks to identify the third basic categorization of software design patterns as Behavioral.
Contains a description of all patterns. Can be useful describing how a software problem was solved by a developer. Is a always reusable solution to a commonly occurring problem without a given context in software design Both a and c All of a-d
2. The Dependency Inversion Principle ______
[1 pts.]
Helps make changing an object easier.
Requires that methods that are present in base classes must also be present in the derived classes. Helps ensure that objects are easy to extend without requiring change to the original object. Requires that object interfaces only include methods that will be needed by most implementers. Helps ensure that objects are highly reusable.
3. The Open-Close Principle _________
[1 pts.]
Helps ensure that objects are highly reusable.
Helps ensure that objects are easy to extend without requiring change to the original object. Requires that methods that are present in base classes must also be present in the derived classes. Requires that object interfaces only include methods that will be needed by most implementers. Helps make changing an object easier.
4. Liskovs Substitution Principle _________.
[1 pts.]
Helps ensure that objects are highly reusable.
Helps ensure that objects are easy to extend without requiring change to the original object. Requires that methods that are present in base classes must also be present in the derived classes. Requires that object interfaces only include methods that will be needed by most implementers. Helps make changing an object easier.
5. The Single Responsibility Principle _______
Helps ensure that objects are highly reusable. Helps ensure that objects are easy to extend without requiring change to the original object. Requires that methods that are present in base classes must also be present in the derived classes. Requires that object interfaces only include methods that will be needed by most implementers. Helps make changing an object easier.
[1 pts.]
6. The Interface Segregation Principle _________
[1 pts.]
Helps ensure that objects are highly reusable.
Helps ensure that objects are easy to extend without requiring change to the original object. Requires that methods that are present in base classes must also be present in the derived classes. Helps ensure that objects are easy to extend without requiring change to the original object. Helps make changing an object easier. Requires that object interfaces only include methods that will be needed by most implementers.
basic categorizations of software design patterns are Creational,
7. Three Structural, and ________ Hierarchical Behavioral Relational Normalized Strategic