{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

ch12 - ch12 True/False Indicate whether the statement is...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
ch12 True/False Indicate whether the statement is true or false. ____ 1. Design class diagrams and sequence diagrams should be developed independent of each other. ____ 2. User-interface design and sequence diagrams are often developed concurrently. ____ 3. Design classes always have foreign keys. ____ 4. Dependency relationships cannot exist between classes within packages. ____ 5. Design patterns are unusual design approaches that must be identified and removed from the design models. ____ 6. Standard design templates have become popular among software developers because they can speed OO design work. ____ 7. A three layer design consists of the view layer, the business logic layer, and the data access layer. ____ 8. The activation lifeline is depicted by a vertical dashed line under an object. ____ 9. The first-cut sequence diagram should contain only the view layer and business layer. ____ 10. The perfect memory assumption means that there is always adequate memory to execute the program. ____ 11. The perfect technology assumption means not to worry about issues such as the user having to log on or test- ing the availability of the network. ____ 12. The perfect solution assumption means that we do not worry about exception conditions. ____ 13. The first-cut DCD includes method signatures. ____ 14. A loop or repeating message in a sequence diagram is depicted by a rectangle box. ____ 15. Separation of responsibilities is a design principle to segregate classes into separate components based on the primary focus of the classes. ____ 16. The design, programming, and maintenance of a system are easier if separate classes are defined to access the database and format the data so that it is conducive to computer processing. ____ 17. There are two preferred methods to accessing the database. One is to have newly instantiated object call the data access object. The other is to let the controller access the data access object. ____ 18. The controller object is usually part of the view layer. ____ 19. Communication diagrams can be used to replace sequence diagarms. ____ 20. On communication diagams, return messages are depicted by dashed arrows. ____ 21. Since updating a design class diagram is done after the use case realization is complete, visibility information is no longer necessary. ____ 22. Dependency relationships are depicted by arrows on dashed lines. ____ 23. Usually editing and validating the input data is done as part of the business logic layer. ____ 24. Preparing persistent classes for storage to the database is done by the data access layer. ____ 25. The factory method pattern is used to create classes that can be used to instantiate objects from utility classes.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
____ 26. The singleton pattern has the same basic logic as the factory method pattern. ____ 27. The Observer pattern is also called the listener pattern. ____ 28. In the observer pattern, the object being observed must have a method to register listeners. ____ 29. In the observer pattern template, the onActionPerformed() method will invoke the listenerClass.actionPer- formed() method. Multiple Choice Identify the choice that best completes the statement or answers the question. ____ 30. Which of the following is an example of an interaction diagram? a. Design class diagram c. Package diagram b. Data access diagram d. Communication diagram
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}