Question: critically evaluate a range of design patterns against the range of given scenerio with justification of your choices?(I want full and complete answer) Anx C
critically evaluate a range of design patterns against the range of given scenerio with justification of your choices?(I want full and complete answer)



Anx C 1: scario 1: The given scenario shows a class being instantiated via sequence diagram. Reconcile the appropriate design patterns and state its category. Also mention errors in given scenario (If Any) aClient create aConcrete 1 1 I create a Director 1 Construct() BulldPart() BulldPart() BulldPartCO) GetResult() Scenario 2: The given scenario shows two classes in aggregation relationship with concrete implement operations. Reconcile the appropriate design patterns and state its category. Also mention errors in given scenario (If Any) Client imp Abstraction Implementor aggregation Operation() OperationImpo imp->OperationImpo RefinedAbstraction ConcretelmplementorB ConcretelmplementorA OperationImpo OperationImpo Mario 3: 3: alven scenario shows a class and sequence diagram of a client class with a interface class Sperations. Reconcile the appropriate design patterns and state its category. Also mention errors in given scenario (If Any) interfaces Aggregate winterface ? Client Aggregate1 Client next() hasNext() create ? create new 2 return ( while hasNexto ] next Aggregate1 return element > IPerson University + Clone(): IPerson Student Teacher Clone(): IPerson Clone(): IPerson return new Student(). return new Teacher(); cenario 5: The given scenario shows classes and sub classes in certain relationships with attributes and operations. Reconcile the appropriate design patterns and state its category. Also mention errors in given scenario (If Any) Graphic Drawo Add(Graphic) Remove(Graphic) GetChild(int) Line Rectangle Text Picture Drawo Drawo Drawo graphics Operation Add(Graphic g) Remove(Graphic) GetChild(int)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
