8288-questions-101-109

txt

School

Algonquin College *

*We aren’t endorsed by this school

Course

8288

Subject

Mechanical Engineering

Date

Jan 9, 2024

Type

txt

Pages

1

Uploaded by UltraWalrusPerson854

Report
//QUESTION 101 Which of the following is the correct list of classifications of design patterns? Creational, Structural and Behavioral patterns. //QUESTION 102 Which of the following is correct about Creational design patterns? These design patterns provide a way to create objects while hiding the creation logic, rather than instantiating objects directly using new operator. //QUESTION 103 Which of the following is correct about Structural design patterns? These design patterns concern class and object composition. Concept of inheritance is used to compose interfaces and define ways to compose objects to obtain new functionalities. //QUESTION 104 Which of the following is correct about Behavioral design patterns? These design patterns are specifically concerned with communication between objects. //QUESTION 105 Which of the following patterns should be used as for the assignment of responsibilities between objects, or, encapsulating behavior in an object and delegating requests to it? Iterator, Strategy, Command //QUESTION 106 In single responsibility principle, the responsibility for a class is: Single //QUESTION 107 In open/close principles, the software entities are open for extension but closed for Modifications //QUESTION 108 Client-specific interfaces are better than one general-purpose interface in Interface segregation principle //QUESTION 109 In Liskov substitution principle, "objects in a program should be replaceable with instances of their Subtypes
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
  • Access to all documents
  • Unlimited textbook solutions
  • 24/7 expert homework help