Deck 16: E-R Diagrams and the UML Standard

Full screen (f)
exit full mode
Question
Which of the following would indicate a minimum cardinality of 1 and a maximum cardinality of many in UML notation?

A)1:N
B)1 ..N
C)1 / *
D)1 ..*
E)1:*
Use Space or
up arrow
down arrow
to flip the card.
Question
UML is intended for modeling and designing object-oriented programs and applications.
Question
In UML notation,the relationship line in a relationship with a non-ID-dependent weak entity is labeled as .
Question
In UML,cardinalities are represented by an x ..y format.
Question
Attributes preceded by a + are public.
Question
UML-style E-R diagrams introduce object-oriented notation that is of limited practical value in traditional,relational database design.
Question
In UML-style E-R diagrams,the second segment of an entity class contains ________.

A)the name of the entity
B)the cardinalities of the entity
C)constraints and methods
D)relationships
E)entity attributes
Question
Which of the following is true about UML?

A)UML is a methodology for developing OOP systems.
B)UML is a set of tools to support the development OOP systems.
C)UML is primarily focused on database development.
D)A and B
E)A,B,and C
Question
The classes of all entities to be stored in the database are labeled <>.
Question
Persistent means that data should continue to exist in the database even if the object that processes it is destroyed.
Question
UML-style E-R diagrams allow for three different levels of visibility of attributes.
Question
Maximum cardinalities are represented in UML-style E-R diagrams with the same notation (1:1,1:N,N:M)as in traditional E-R diagrams.
Question
Which of the following is a true statement about the current version of UML?

A)UML places a filled-in diamond on the parent of a weak entity.
B)UML does not provide a means to document exclusivity among subtypes.
C)UML uses the label to document an ID-dependent relationship.
D)UML shows the cardinality on the parent entity of a weak entity as simply "1."
E)All of the above.
Question
UML-style E-R diagrams allow for the existence of class attributes which are attributes that pertain to the collection of all entities within that class,not to the individual entity instances themselves.
Question
Attributes preceded by a # are private.
Question
Attributes preceded by a + are protected.
Question
In UML notation,the relationship line in a relationship with an ID-dependent weak entity is labeled as .
Question
In UML-style E-R diagrams,a weak entity is shown by placing a filled-in diamond on the parent of the weak entity.
Question
In UML-style E-R diagrams,the third segment of an entity class contains ________.

A)the name of the entity
B)the cardinalities of the entity
C)constraints and methods
D)relationships
E)entity attributes
Question
One weakness of UML-style E-R diagrams is that there is no means of distinguishing between a weak entity that is ID-dependent and a weak entity that is not ID-dependent.
Question
What new contributions to data modeling do UML-style E-R diagrams introduce?
Question
What is OOP persistence,and how is it indicated in UML-style E-R diagrams?
Question
In UML,an attribute preceded by a(n)________ is "protected."

A)!
B)#
C)-
D)+
E)
Question
In UML-style E-R diagrams,which of the following would be considered a class attribute of the entity class CUSTOMER?

A)Customer Name (meaning,the first and last name of the customer)
B)Customer Address (meaning,the street,city,state,and zip code of the customer's residence)
C)Customer Count (meaning,the count of the number of customers)
D)Customer Number (meaning,an assigned number to uniquely identify a customer)
E)A and B
Question
In UML notation,the relationship line in a relationship between two strong entities is labeled as:

A).
B).
C).
D).
E)There is no label used.
Question
In UML notation,the relationship line in a relationship with an ID-dependent weak entity is labeled as:

A).
B).
C).
D).
E)There is no label used.
Question
Which of the following is not a characteristic that was introduced to E-R diagramming by UML?

A)class attributes
B)relationship attributes
C)visibility of attributes
D)methods
E)constraints
Question
What cardinality format is used in UML-style E-R diagrams?
Question
In the UML-style entity class ORDERS shown above,"GetOrderNo( )" is a ________.

A)private method
B)protected constraint
C)public constraint
D)public method
E)protected method
Question
In UML,an attribute that is accessible only by methods of its entity class or of its subclasses is said to be ________.

A)private
B)exclusive
C)protected
D)public
E)persistent
Question
In UML notation,the relationship line in a relationship with an non-ID-dependent weak entity is labeled as:

A).
B).
C).
D).
E)There is no label used.
Question
In UML,an attribute that is accessible only by methods of its entity class is said to be ________.

A)private
B)exclusive
C)protected
D)public
E)persistent
Question
In UML,an attribute that is accessible and can be changed by any method of any object is said to be ________.

A)private
B)exclusive
C)protected
D)public
E)persistent
Question
How are entity classes drawn in UML-style E-R diagrams?
Question
What format is used for weak entities in UML-style E-R diagrams?
Question
In the UML-style entity class ORDERS shown above,"SumOfOrders" is ________.

A)an entity attribute
B)a method
C)a constraint
D)a class attribute
E)None of the above
Unlock Deck
Sign up to unlock the cards in this deck!
Unlock Deck
Unlock Deck
1/36
auto play flashcards
Play
simple tutorial
Full screen (f)
exit full mode
Deck 16: E-R Diagrams and the UML Standard
1
Which of the following would indicate a minimum cardinality of 1 and a maximum cardinality of many in UML notation?

A)1:N
B)1 ..N
C)1 / *
D)1 ..*
E)1:*
D
2
UML is intended for modeling and designing object-oriented programs and applications.
True
3
In UML notation,the relationship line in a relationship with a non-ID-dependent weak entity is labeled as .
True
4
In UML,cardinalities are represented by an x ..y format.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
5
Attributes preceded by a + are public.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
6
UML-style E-R diagrams introduce object-oriented notation that is of limited practical value in traditional,relational database design.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
7
In UML-style E-R diagrams,the second segment of an entity class contains ________.

A)the name of the entity
B)the cardinalities of the entity
C)constraints and methods
D)relationships
E)entity attributes
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
8
Which of the following is true about UML?

A)UML is a methodology for developing OOP systems.
B)UML is a set of tools to support the development OOP systems.
C)UML is primarily focused on database development.
D)A and B
E)A,B,and C
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
9
The classes of all entities to be stored in the database are labeled <>.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
10
Persistent means that data should continue to exist in the database even if the object that processes it is destroyed.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
11
UML-style E-R diagrams allow for three different levels of visibility of attributes.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
12
Maximum cardinalities are represented in UML-style E-R diagrams with the same notation (1:1,1:N,N:M)as in traditional E-R diagrams.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
13
Which of the following is a true statement about the current version of UML?

A)UML places a filled-in diamond on the parent of a weak entity.
B)UML does not provide a means to document exclusivity among subtypes.
C)UML uses the label to document an ID-dependent relationship.
D)UML shows the cardinality on the parent entity of a weak entity as simply "1."
E)All of the above.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
14
UML-style E-R diagrams allow for the existence of class attributes which are attributes that pertain to the collection of all entities within that class,not to the individual entity instances themselves.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
15
Attributes preceded by a # are private.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
16
Attributes preceded by a + are protected.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
17
In UML notation,the relationship line in a relationship with an ID-dependent weak entity is labeled as .
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
18
In UML-style E-R diagrams,a weak entity is shown by placing a filled-in diamond on the parent of the weak entity.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
19
In UML-style E-R diagrams,the third segment of an entity class contains ________.

A)the name of the entity
B)the cardinalities of the entity
C)constraints and methods
D)relationships
E)entity attributes
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
20
One weakness of UML-style E-R diagrams is that there is no means of distinguishing between a weak entity that is ID-dependent and a weak entity that is not ID-dependent.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
21
What new contributions to data modeling do UML-style E-R diagrams introduce?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
22
What is OOP persistence,and how is it indicated in UML-style E-R diagrams?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
23
In UML,an attribute preceded by a(n)________ is "protected."

A)!
B)#
C)-
D)+
E)
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
24
In UML-style E-R diagrams,which of the following would be considered a class attribute of the entity class CUSTOMER?

A)Customer Name (meaning,the first and last name of the customer)
B)Customer Address (meaning,the street,city,state,and zip code of the customer's residence)
C)Customer Count (meaning,the count of the number of customers)
D)Customer Number (meaning,an assigned number to uniquely identify a customer)
E)A and B
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
25
In UML notation,the relationship line in a relationship between two strong entities is labeled as:

A).
B).
C).
D).
E)There is no label used.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
26
In UML notation,the relationship line in a relationship with an ID-dependent weak entity is labeled as:

A).
B).
C).
D).
E)There is no label used.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
27
Which of the following is not a characteristic that was introduced to E-R diagramming by UML?

A)class attributes
B)relationship attributes
C)visibility of attributes
D)methods
E)constraints
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
28
What cardinality format is used in UML-style E-R diagrams?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
29
In the UML-style entity class ORDERS shown above,"GetOrderNo( )" is a ________.

A)private method
B)protected constraint
C)public constraint
D)public method
E)protected method
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
30
In UML,an attribute that is accessible only by methods of its entity class or of its subclasses is said to be ________.

A)private
B)exclusive
C)protected
D)public
E)persistent
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
31
In UML notation,the relationship line in a relationship with an non-ID-dependent weak entity is labeled as:

A).
B).
C).
D).
E)There is no label used.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
32
In UML,an attribute that is accessible only by methods of its entity class is said to be ________.

A)private
B)exclusive
C)protected
D)public
E)persistent
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
33
In UML,an attribute that is accessible and can be changed by any method of any object is said to be ________.

A)private
B)exclusive
C)protected
D)public
E)persistent
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
34
How are entity classes drawn in UML-style E-R diagrams?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
35
What format is used for weak entities in UML-style E-R diagrams?
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
36
In the UML-style entity class ORDERS shown above,"SumOfOrders" is ________.

A)an entity attribute
B)a method
C)a constraint
D)a class attribute
E)None of the above
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
locked card icon
Unlock Deck
Unlock for access to all 36 flashcards in this deck.