System Chapter 5 Questions

¡Supera tus tareas y exámenes ahora con Quizwiz!

What are three representations that could be used for structural modeling?

CRC cards, class diagrams, and object diagrams

Which of the following would most likely not be an example of an attribute? Employee name, customer address, stock number, isbn number, cancel appointment?

Cancel Appointment

CRC cards are used to document the responsibilities and collaborations of a(n) _____.

Class

A _____ object is an instance of a class that sends a request to an instance of another class for an operation to be executed.

Client

Which of the following types of attributes is not proper in an analysis class? Integers, Strings, Doubles, Compound, Ate?

Compound

A(n) _____ formalizes the interactions between a client and server object.

Contract

A class symbol has the attributes listed in the top compartment.

False

Absolutely all relationships fit neatly into a generalization (a-kind-of) or aggregation (a-part-of) framework.

False

Aggregation relationships is when subclass capable of substituting for the superclass anywhere that it is used.

False

CRC cards cannot be used to discover additional objects, attributes, relationships, and operations

False

Common object list is simply a list of objects that is not common to the business domain of the system

False

The multiplicity one-or-more on a relationship is signified by the notation 1..M.

False

Views are often used to provide the user a complete picture of the class diagram.

False

object diagram is not part of static structure diagram

False

Abstract classes are used to create objects.

False (Concrete classes are used to create objects. Abstract classes do not actually exist)

Responsibilities of a class can be broken into three separate types: knowing, doing and collaborating

False (Just knowing and doing)

The default visibility of an attribute in a class diagram is public.

False (default for attribute is private and default for operation is public)

Common object lists technique identifies candidate objects for a structural model by listing common objects in the text of the use case descriptions.

False (lists objects common to the domain of the system)

In the textual analysis of a use case, the use case name suggests possible classes while the verbs suggest possible operations.

False (technically noun suggests the classes but the verbs do suggest possible operations)

A composition is a special form of association

False*

One way to identify objects for the class diagram is to scan the use case descriptions for ____.

Nouns

A(n) _____ of an analysis class is where the behavior of the class is defined.

Operation

Service is another name for _____.

Operation

A generalization represents a-kind-of relationship between multiple classes

True

An aggregation represents a logical a-part-of relationship between multiple classes or a class and itself.

True

Association relationships are used for the relationship between instances of two classes when the relationship is not specific enough to be considered a generalization or an aggregation relationship.

True

Brainstorming is a discovery technique

True

CRC cards are used to capture all of the relevant information associated with a class.

True

CRC cards are used to document the essential properties of a class.

True

Every CRC card should be associated with a class on the class diagram, and vice versa

True

Part of the process of creating CRC cards is roleplaying them, where individuals perform the operations for the class on the card.

True

The generalization abstraction enables the analyst to create classes that inherit attributes and operations of other classes.

True

The multiplicity 1 or more on a relationship is signified by the notation 1..*.

True

The responsibilities of a class can be divided into knowing and doing types.

True

Use of CRC cards is a one way to represent structural modeling

True

When classes share a many-to-many relationship, it is common to create a(n) association class that has its own attributes and methods.

True

view mechanism is used to simplify class diagrams

True

A constructor operation creates a new instance of a class.

True*

A pattern is simply a useful group of collaborating classes that provide a solution to a commonly occurring problem.

True*

A mechanism for developing CRC cards is for the user or analyst to role play as if they are an instance of the class. This process is called _____.

anthropomorphism

An _____ of an analysis class represents a piece of information that is relevant to the description of the class.

attribute

What is true about class diagram?

class diagram shows relationships between classes, can show that the class is related to itself, and a class diagram can show multiplicity

Aggregation association is used when classes actually _______

comprise other classes

Generalization association shows that properties and operations_______.

of the super class are also valid for objects of the subclass

A _____ object is the instance of a class that receives a request from another object.

server

The main building block of a class diagram is _________.

the class, which stores and manages information in the system


Conjuntos de estudio relacionados

Chapter 3 Visual Displays of Data

View Set

IE 590 Project Management PMI Quizzes

View Set

Philosophy of Religion Final: 2nd half of semester

View Set

Psych Chapter 9 Human Development

View Set

Renin-Angiotensin-Aldosterone System (RAAS) Quiz

View Set