WorksheetsGRASP-PART1-OOAD
Total questions: 5
Worksheet time: 3mins
GRASP MEANS
•General Responsibility Assignment Software Patterns
•Got Responsibility Assignment Software Patterns
•General Real Assignment Software Patterns
•General Responsibility Assignment Soft Patterns
Responsibilities of knowing
•about private, encapsulated data
•about related objects
•about things that it can derive or calculate
All the above
which is not a GRASP collection
creator
controller
low coupling
motivator
Information Expert -Problem is
•what is the general principle of assigning responsibilities to class?
•what is the general principle of assigning responsibilities to event?
•what is the general principle of assigning responsibilities to objects?
•what is the general principle of assigning responsibilities to metrics?
Creator - problem is
•who should be responsible for creating a new instance of metrics?
•who should be responsible for creating a new instance of a class?
•who should be responsible for creating a new instance of a event?
•who should be responsible for creating a new instance of a object?
