0% found this document useful (0 votes)
103 views14 pages

CH04 TB

Uploaded by

san marco
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
103 views14 pages

CH04 TB

Uploaded by

san marco
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 14

6ed-Chapter 4: Domain Modeling

TRUE/FALSE

1. Two techniques to identify things in the problem domain are the noun technique and the verb
technique.

ANS: F PTS: 1

2. When identifying things in the problem domain, an analyst should focus primarily on tangible things
about which information is required.

ANS: F PTS: 1

3. When using the brainstorming technique it is often helpful to think about each use case and talking to
users.

ANS: T PTS: 1

4. The noun technique can be thought of as a variation of the brainstorming technique.

ANS: F PTS: 1

5. When using the noun technique, the analyst begins by listing all the nouns that the users mention.

ANS: T PTS: 1

6. The cardinality of a class is a measure of the number of objects in the class.

ANS: F PTS: 1

7. The ERD crows feet cardinality constraint indicates a mandatory many relationship.

ANS: F PTS: 1

8. In UML a zero to many multiplicity constraint is shown with a “O” and crows feet on the line.

ANS: F PTS: 1

9. A class of objects is equivalent to a set of objects.

ANS: T PTS: 1

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
10. A superclass only exists as part of a generalization/specialization.

ANS: T PTS: 1

11. An abstract class is used to describe a “thing” that is abstract, i.e. not tangible.

ANS: F PTS: 1

12. A composite object only exist as part of a whole-part relationship.

ANS: T PTS: 1

13. In generalization/specialization the objects in a subclass are always also contained in the parent class.

ANS: T PTS: 1

14. A semantic net illustrates individual objects within a class diagram.

ANS: T PTS: 1

MULTIPLE CHOICE

1. The specific area of the user’s business need that is within the scope of the new system is called the
_______.
a. use cases c. functional requirements
b. user specifications d. problem domain

ANS: D PTS: 1

2. One technique to find the “things” that need to be included in the new system begins by starting with a
user and the use cases and then try to identify the necessary informational “things.”    This technique is
called the _______.
a. domain analysis technique c. brainstorming technique
b. check list technique d. noun technique

ANS: C PTS: 1

3. One technique for finding “things” that need to be in the new system is done by the analyst starts
making lists of “things.”    He may do this from information and even without talking to the users
extensively.    This technique is called the _______.
a. domain analysis technique c. brainstorming technique
b. check list technique d. noun technique

ANS: D PTS: 1

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
4. When making a list of nouns to determine what are the important “things” for the new system, there
are three question that should be asked about each noun.    Which of the following is one of those
questions?
a. Is it a tangible item? c. Who needs information about this item?
b. Is it an abstract item? d. Should it be researched further?

ANS: D PTS: 1

5. A piece of information about a particular object is called a(n) _______.


a. identifier c. field
b. attribute d. data value

ANS: B PTS: 1

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
6. An example of an attribute of an object might be _______.
a. an inventory item c. a social security number
b. items on a purchase order d. a calendar

ANS: C PTS: 1

7. An attribute whose value uniquely identifies an object is called a(n) _______.


a. unique attribute c. locking attribute
b. secure attribute d. key attribute

ANS: D PTS: 1

8. A(n) _______ is a naturally occurring association among specific things.


a. relationship c. attribute
b. cardinality d. composition

ANS: A PTS: 1

9. The number of associations that occur among specific things in an entity relationship diagram is called 
____.

a. a relationship c. a binary relationship


b. an attribution d. cardinality

ANS: D PTS: 1

10. A synonym for cardinality (used with UML class diagrams) is ____.
a. relationship c. unary relationship
b. multiplicity d. inheritance

ANS: B PTS: 1

11. ____ is used to describe the relationship between two things of the same type, such as one person
being married to another person.
a. Binary association c. Cardinality
b. Unary association d. N-ary association

ANS: B PTS: 1

12. A synonym for cardinality (used with UML class diagrams) is _______.
a. relationship c. inheritance
b. multiplicity d. n-ary relationship

ANS: B PTS: 1

13. An attribute that contains a collection of related attributes is called a(n) _______.

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
a. class attribute c. compound attribute
b. key attribute d. association attribute

ANS: C PTS: 1

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
14. A measure of the number of links between one object and another object in a relationship is called the
_______.
a. linkups c. associations
b. aggregations d. cardinality

ANS: D PTS: 1

15. In the traditional approach to system development, the system stores information about ____.
a. objects c. attributes
b. data stores d. data entities

ANS: D PTS: 1

16. The crows feet notation on an ERD is a type of _______ constraint.


a. cardinality c. many-to-many
b. multiplicity d. relationship

ANS: A PTS: 1

17. A relationship that has a cardinality constraint of one or more is a(n)    _______ relationship.
a. mandatory c. unary
b. optional d. binary

ANS: A PTS: 1

18.
The above cardinality constraint on the Order data entity indicates that there can be _____ .
a. zero or many orders c. many orders
b. one or many orders d. cannot be determined without the other
side of the relationship

ANS: B PTS: 1

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
19.
The association shown on the above image is a(n) ________    association.
a. unary c. n-ary
b. binary d. undefined

ANS: A PTS: 1

20. The domain model class diagram is used to _______ .


a. show the software classes in the problem c. show the data entities for the new system
domain layer of the system
b. show the things involved in the user’s d. show the relationships among the data
work that are important entities

ANS: B PTS: 1

21. A relationship between a “sports team” and the players, coaches, and sponsor would be described as
what kind of relationship?
a. Aggregation c. Generalization/Specialization
b. Composition d. Binary

ANS: A PTS: 1

22. Which of the following relationships would NOT be an appropriate way to describe a relationship
between an employee and his/her manager?
a. Unary relationship c. Generalization/Specialization relationship
b. Binary relationship d. Association relationship

ANS: D PTS: 1

23. As association class is frequently required for what kind of relationship?


a. zero to one c. many to many
b. one to many d. zero to many

ANS: C PTS: 1

24. In UML the constraint denoted by “0..*”    indicates what?

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
a. an optional relationship c. only a many maximum relationship
b. a mandatory relationship d. never only one allowed

ANS: A PTS: 1

25.Which of the following is NOT true about a UML class.


a. It is a classification of objects. c. It is similar to a data entity.
b. It is a set of objects. d. It has multiplicity.

ANS: D PTS: 1

26. _____ is based on the idea that people classify things in terms of similarities and differences.
a. Aggregation c. Multiplicity
b. Composition d. Generalization/Specialization

ANS: D PTS: 1

27. A concept that allows subclasses to share the characteristics of their superclasses is called ____.
a. aggregation c. multiplicity
b. composition d. inheritance

ANS: D PTS: 1

28. A class that represents a many-to-many association between two other classes is called a(n) ____ class.
a. problem domain c. aggregated
b. superclass d. association

ANS: D PTS: 1

29. If we modeled a “sale” and the “sale items” with a whole-part relationship, it would best be described
as a _______ relationship.
a. aggregate c. inherited
b. composite d. abstract

ANS: B PTS: 1

30. In a generalization/specialization relationship, it would not make sense for a class at the bottom of the
hierarchy to be a(n)    ______ class.
a. composite c. concrete
b. association d. abstract

ANS: D PTS: 1

31. Inheritance describes a condition between classes where _______ .


a. some classes are always abstract c. classes are part of other classes
b. subclasses inherit the names from d. classes share some attributes

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
superclasses

ANS: D PTS: 1

32.
This notation indicates what type of association?
a. Aggregation c. Association
b. Composition d. Generalization/Specialization

ANS: D PTS: 1

MULTIPLE RESPONSE

1. When analyzing the list of nouns to determine whether to include a particular noun as an important
“thing,” which of the following questions should be asked about the noun? (choose two)
a. If assumptions change will it be d. Is it an attribute of some other thing?
important?
b. Is it tangible? e. Are there multiple instances of it?
c. Is it unique? f. Is it identifiable?

ANS: C, E PTS: 2

2. When analyzing the list of nouns to determine whether to exclude a particular noun as an important
“thing,”    which of the following questions should be asked about the noun? (choose two)
a. Is it in the domain? d. Is it identifiable?
b. Is it a synonym of an existing thing? e. Is it a persistent item?
c. Is it a tangible item? f. Is it an output from the system?

ANS: B, F PTS: 2

COMPLETION

1. The specific area of the user’s business need that is within the scope of the new system is called the
_______.

ANS: problem domain

PTS: 2

2. A technique to identify problem domain objects in which developers and users work together in an
open group setting is called the _______ .

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
ANS:
brainstorming technique
brainstorming

PTS: 2

3. The technique for finding problem domain objects by finding and listing all the nouns in a dialog or
description is called the _______.

ANS:
noun technique
noun

PTS: 2

4. A descriptive piece of information about a thing or object is called a(n)    _______.

ANS: attribute

PTS: 2

5. An attribute for an object which can be used to uniquely identify that object is called a(n) _______.

ANS:
key
identifier

PTS: 2

6. A term in UML that describes a naturally occurring relationship between specific things is called a(n)
_______.

ANS: association

PTS: 2

7. In UML notation for object-oriented approach the term _______ is used instead of cardinality.

ANS: multiplicity

PTS: 2

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
8. _______ is used to describe the actual range of linkups allowed in an association (the minimum and
maximum values).

ANS:
Multiplicity constraints
Cardinality constraints

PTS: 2

9. The diagram consisting of data entities and their relationships is called a(n) _______ .

ANS:
entity relationship diagram
entity-relationship diagram
ERD

PTS: 2

10. When words are concatenated together to form a single word and the first letter of each is capitalized it
is called _______    notation.

ANS:
camelback
camelback notation
camelcase
camelcase notation

PTS: 2

11. An association that is also treated as a class is called a(n) _______.

ANS: association class

PTS: 2

12. A UML class that never has any objects within the class is called a(n) _______.

ANS:
abstract class
abstract

PTS: 2

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
13. A UML class that is allowed to have a set of actual objects within it is called a(n) _______.

ANS:
concrete class
concrete

PTS: 2

14. In a relationship where there are superclasses and subclasses, the relationship is called a(n) _______
relationship.

ANS:
generalization/specialization
generalization specialization
generalization-specialization

PTS: 2

15. The idea that the attributes of a superclass are also attributes of a subclass is called ______.

ANS: inheritance

PTS: 2

16. The general relationship between classes in which one class is a part or component of another class is
called a(n) _______ relationship.

ANS:
whole-part
whole part
whole/part

PTS: 2

17. A type of relationship where between classes where the objects in one class are a part of the objects in
another class BUT they can also exist as separate objects alone.

ANS:
aggregation
aggregate relationship
aggregate

PTS: 2

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
18. A type of relationship where between classes where the objects in one class are a part of the objects in
another class AND they can only exist as part of the totality.

ANS:
composition
composite relationship
composite

PTS: 2

19. A drawing which shows individual objects and their links with other objects, and which is used to help
understand the problem domain classes is called a(n) _______ .

ANS: semantic net

PTS: 2

ESSAY

1. List the steps to follow when using the brainstorming technique for finding things.

ANS:
1. Identify a user and a set of use cases
2. Brainstorm with the user to identify necessary things
3. Use the identified things to ask addition questions about things
4. Expand to all other users and use cases
5. Merge the results and eliminate duplicates

PTS: 5

2. Describe the difference between the noun technique and the brainstorming technique to find problem
domain objects.

ANS:
The brainstorming technique is more top-down where the analyst is thinking and categorizing objects
from the beginning.    The noun technique is more bottom-up where the analyst makes lists and later
analyzes to refine and merge the nouns.

PTS: 5

3. Using the noun technique for finding “things” for the new system, what are the three questions you
should ask about each noun you have identified? Explain what each question entails.

ANS:

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.
1. Should it should be included - Is it unique? Is it within the scope? Are there multiple instances of it?
2. Should it be excluded -- Is it a synonym for an existing noun? Is it only an input? Is it only an
output?
3. Should it be research further -- Is it an attribute? Will it become important in the future?

PTS: 5

© 2012 Cengage Learning. All Rights Reserved. This edition is intended for use outside of the U.S. only, with content that may be different
from the U.S. Edition. May not be scanned, copied, duplicated, or posted to a publicly accessible website, in whole or in part.

You might also like