ENSF 461 ACTUAL ASSESSMENT SCRIPT
2026 COMPLETE QUESTIONS AND FULL
SOLUTION
●● Benefits of DP
Answer: - Patterns provide a common vocabulary
- Promotes design reuse and avoid mistakes
●● Types of DP
Answer: 1. Creational
2. Structural
3. Behavioural
●● Creational Pattern Definition
Answer: provide a way to create objects
while hiding the creation logic, rather than instantiating objects directly
using the constructor
- abstracting the object-instan>a>on process
●● Structural Pattern Definition
Answer: these patterns concern class and object
composition
, - how objects/classes can be combined to form larger structures
●● Behavioural Pattern Definition
Answer: concerned with communication between objects
●● Gang of Four
Answer: four authors of the book, "Design Patterns: Elements of
Reusable Object-Oriented Software". Book contains 23 patterns
●● Creational Pattern Examples
Answer: - Factory Method
- Builder
- Abstract Factory
- Singleton
- Prototype
●● Structural Pattern Examples
Answer: - Adapter
- Bridge
- Composite
- Decorator
- Façade
2026 COMPLETE QUESTIONS AND FULL
SOLUTION
●● Benefits of DP
Answer: - Patterns provide a common vocabulary
- Promotes design reuse and avoid mistakes
●● Types of DP
Answer: 1. Creational
2. Structural
3. Behavioural
●● Creational Pattern Definition
Answer: provide a way to create objects
while hiding the creation logic, rather than instantiating objects directly
using the constructor
- abstracting the object-instan>a>on process
●● Structural Pattern Definition
Answer: these patterns concern class and object
composition
, - how objects/classes can be combined to form larger structures
●● Behavioural Pattern Definition
Answer: concerned with communication between objects
●● Gang of Four
Answer: four authors of the book, "Design Patterns: Elements of
Reusable Object-Oriented Software". Book contains 23 patterns
●● Creational Pattern Examples
Answer: - Factory Method
- Builder
- Abstract Factory
- Singleton
- Prototype
●● Structural Pattern Examples
Answer: - Adapter
- Bridge
- Composite
- Decorator
- Façade