Quiz 1 - Domain Modeling With Answer Key

Share Embed Donate


Short Description

lecture...

Description

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

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

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

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. b.

a relationship an attribution

ANS: D

c. d. PTS:

a binary relationship cardinality

1

10. A synonym for cardinality (used with UML class diagrams) is ____. a. Relationship c. unary relationship

b.

Multiplicity

ANS: B

d. PTS:

inheritance

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) _______. a. class attribute c. compound attribute b. key attribute d. association attribute ANS: C

PTS:

1

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

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. domain layer of the system b. show the things involved in the user’s work d. that are important ANS: B

PTS:

show the data entities for the new system show the relationships among the data entities

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? 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. b. It is a set of objects. d. ANS: D

PTS:

It is similar to a data entity. It has multiplicity.

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 superclasses d. classes share some attributes ANS: D

PTS:

1

32. This notation indicates what type of association? a. Aggregation b. Composition ANS: D

PTS:

1

c. d.

Association Generalization/Specialization

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF