Chapter 11-review questions

Chapter 11-review questions - Chapter 11 The...

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

View Full Document Right Arrow Icon
Chapter 11 – The Object-Oriented Approach to Design: Use Case Realization Solutions to End-of-Chapter Material Review Questions 1. Which three models are most used to do object-oriented design? Design class diagrams, interaction diagrams, and package diagrams are the three models that are used to capture design specifications. 2. Why do we say that design is “use-case driven?” Design is done on a use case-by-use case basis. Each use case is considered and designed independently of the other use cases. 3. Four icons, or shortcuts, can be used to depict different types of classes. List the four icons, describe what each means, and show the symbol for each. An entity class is the design identifier for a problem domain class. Its icon is a circle on a flat plate. Customer A boundary class is a class that is specifically designed to live on the system s automation boundary. Its icon is a circle with a T attached to the side. OrderWindow A control class is a class that mediates between the boundary classes and the entity classes. Its icon is a circle with an attached arrow. UseCaseHandler A data access class is a class that is used to retrieve data from and send data to a database. Its icon is a circle with two extended arms.
Background image of page 1

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

View Full DocumentRight Arrow Icon
OrderDBReader 4. List the elements included in a method signature. Give an example of a method signature with all elements listed correctly. A method signature shows all of the information needed to invoke (or call) the method. It shows the format of the message that must be sent, which consists of the following: method visibility, method name, type-expression, and method parameter list (incoming arguments). Example: +calculateAmount : float (startDate, endDate) 5. What is the notation used to indicate a stereotype? Show an example of a stereotyped class. The notation for a stereotype is the name of the stereotype surrounded by guillemets. «boundary» OrderWindow 6. What is meant by navigation visibility? How is it shown in UML? How is it implemented in programming code? Navigation visibility is the ability for one object to view and interact with another object. With navigation visibility, a class can access the methods of another class. In UML, navigation visibility is shown with an arrow connecting the two classes.
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.

Page1 / 6

Chapter 11-review questions - Chapter 11 The...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online