Chapter 18 Flashcards
- An approach used to specify the software solution in terms of collaborating objects, their attributes and their methods is called object oriented design.
Answer: True Page: 646 LOD: Easy
- An interface class is an object class that provides the means by which an actor can interface with the system.
Answer: True Page: 648 LOD: Easy
- A dependency relationship is illustrated with a dashed arrow line.
Answer: True Page: 650 LOD: Easy
- Method is the software logic that is executed in response to a message.
Answer: True Page: 651 LOD: Easy
- In a pure object-oriented environment every piece of code exists inside an object class.
Answer: True Page: 648 LOD: Easy
- An object-oriented system is structured into at least three different types of object classes.
Answer: True Page: 648 LOD: Easy
- Entity classes are identified during systems analysis and usually correspond to items in real life and contain information, known as attributes, that describes the different instances of the entity.
Answer: True Page: 648 LOD: Easy
- Interface classes are a means through which the attributes will interface with the instances of an entity.
Answer: False Page: 648 LOD: Medium
Rationale: Interface classes provide a means for the user to interface with the system.
- The responsibility of the interface class is twofold: (1) it translates the user’s input into information that the system can understand and use to process the business event; (2) it takes data pertaining to a business event and translates the data for appropriate presentation to the user.
Answer: True Page: 648-649 LOD: Easy
- Controller classes implement the business logic or business rules of the system.
Answer: True Page: 649 LOD: Easy
- System classes handle operating system-specific functionality.
Answer: True Page: 649 LOD: Easy
- Persistence classes read and write to a database.
Answer: True Page: 649 LOD: Easy
- Public attributes can be accessed and public methods can be invoked by any other method in any other class.
Answer: True Page: 650 LOD: Easy
- Private attributes can be accessed and private methods can be invoked only by any method in the class in which the attribute or method is defined.
Answer: True Page: 650 LOD: Easy
- A class responsibility is essentially the same thing as a class method.
Answer: True Page: 651 LOD: Medium
- A class responsibility is implemented by the creation of one or more methods that may have to collaborate with other classes and methods.
Answer: True Page: 651 LOD: Medium
- One technique for identifying behaviors is to search the use-case narrative for verb phrases.
Answer: True Page: 657 LOD: Medium
- A class responsibility collaboration (CRC) card is a popular tool for documenting the behaviors and collaborations for an object.
Answer: True Page: 657-658 LOD: Easy
- Sequence diagrams show us in great detail how the objects interact with each other in time sequence.
Answer: True Page: 659 LOD: Easy
- Cohesion is the degree to which one class is connected to or relies upon other classes.
Answer: False Page: 666 LOD: Medium Rationale: Coupling is the degree to which one class is connected to or relies upon other classes.
- Ideally, object classes created for one information system should be able to be reused in other information systems.
Answer: True Page: 667 LOD: Easy
- Reusability is why operating system-specific code and database specific code are often designed into system and persistence classes.
Answer: True Page: 667 LOD: Easy
- A design pattern is a common solution to a given problem in a given context.
Answer: True Page: 668 LOD: Easy
- One advantage of using design patterns is that they provide designers with a short-hand notation for discussing design issues.
Answer: True Page: 669 LOD: Easy
- GOF behavioral patterns provide guidance on the way in which classes interact to distribute responsibility.
Answer: True Page: 669 LOD: Medium