Hi all, Please find the correct answers for these questions. 2) When using OOAD artifacts to organize and assign team responsibilities on a project, it is BEST to:
a) evenly distribute use cases among team members and have them work as independently as possible in order to minimize code dependencies
b) designate one team for implementing interaction diagrams related to the "common code path" and another team for implementing interaction diagrams related to "code path variations" (for example ? conditional or error paths)
c) divide teams according to package diagram dependencies and utilize use cases to schedule the work for the individual team members
d) divide teams according to the layers in the software architecture and have them work as independently as possible in order to minimize dependencies between the layers}
(one answer) I selected - c 5) Based on the following statements from a domain expert on a project, which of the following are requirements that MUST be extracted?
a) A note must be sent to the customer for incomplete mortgage applications, listing the missing items.
b) A file must be established for every mortgage application at the time it is submitted, whether the application is complete or not.
c) Addresses on mortgage applications must be entered as all capital letters.
d) A unique mortgage number must be assigned to each mortgage file. This identifier must follow financial industry standard format http://certify.torolab.ibm.com/figures/test486F2.gif (select two answers) answer - b,d 14) Referring to these partial requirements, which of the following is true?
a) The verbs in the requirements become methods in the object model.
b) Some of the verbs in the requirements become methods of the nouns they reference. E.g., a FinancialInstitution class would have a getFinancialInformationFor( aCustomer ) method.
c) Some of the verbs in the requirements become methods of the concept taking the action. E.g., a LoanOfficer class would have a getFinancialInformationFor( aCustomer ) method.
20) In an OO system, it is desirable to assign responsibilities:
a) relatively evenly across the classes.
b) more heavily in a few controlling classes.
c) according to interaction diagram messaging.
(select two answers) I selected - a,c
27) Software entropy is a phenomenon wherein programs begin with well designed state, but as new functionalities are added, they lose their structure. Refactoring of classes is done to avoid software entropy. What are good practices to follow during refactoring? a) Renaming a method and moving a field from one class to another should be done in small steps, testing changes as required.
b) Break down classes that are heavily loaded with responsibilities into smaller classes and distribute the responsibilities among them effectively.
c) Consolidate similar methods from different classes in the same type hierarchy into a common super class wherever possible.
d) Add functionality and refactor simultaneously in order to obtain an efficient and effective design. ( select three) I selected - a,c,d