Deck 19: E-R Diagrams and the UML Standard

Full screen (f)
exit full mode
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 simple "1."
E)All of the above.
Use Space or
up arrow
down arrow
to flip the card.
Question
Attributes preceded by a + are public.
Question
In UML,cardinalities are represented by an x ..y format.
Question
Persistent means that data should continue to exist in the database even if the object that processes it is destroyed.
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
UML is intended for modeling and designing object-oriented programs and applications.
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:*
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
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,a weak entity is shown by placing a filled-in diamond on the parent of the weak entity.
Question
Attributes preceded by a # are private.
Question
UML-style E-R diagrams allow for three different levels of visibility of attributes.
Question
The classes of all entities to be stored in the database are labeled <>.
Question
In UML notation,the relationship line in a relationship with an ID-dependent weak entity is labeled as .
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
Attributes preceded by a + are protected.
Question
In UML notation,the relationship line in a relationship with a non-ID-dependent weak entity is labeled as .
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
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 of OOP systems.
C)UML is primarily focused on database development.
D)A and B
E)A,B and C
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
In UML,an attribute preceded by a ________ is "protected."

A)!
B)#
C)-
D)+
E)
Question
What is OOP persistence,and how is it indicated in UML-Style E-R diagrams?
Question
What new contributions to data modeling do UML-style E-R diagrams introduce?
Question
<strong>  In UML notation,the relationship line in a relationship between two strong entities is labeled as:</strong> A)<persistent>. B)<identifying>. C)<nonidentifying>. D)<protected>. E)There is no label used. <div style=padding-top: 35px>
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
<strong>  In the UML-style entity class ORDERS shown above,GetOrderNo( ) is a ________.</strong> A)private method B)protected constraint C)public constraint D)public method E)protected method <div style=padding-top: 35px>
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 is said to be ________.

A)private
B)exclusive
C)protected
D)public
E)persistent
Question
What format is used for weak entities in UML-Style E-R diagrams?
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,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
What cardinality format is used in UML-Style E-R diagrams?
Question
<strong>  In UML notation,the relationship line in a relationship with a non-ID-dependent weak entity is labeled as:</strong> A)<persistent>. B)<identifying>. C)<nonidentifying>. D)<protected>. E)There is no label used. <div style=padding-top: 35px>
In UML notation,the relationship line in a relationship with a non-ID-dependent weak entity is labeled as:

A).
B).
C).
D).
E)There is no label used.
Question
<strong>  In UML notation,the relationship line in a relationship with an ID-dependent weak entity is labeled as:</strong> A)<persistent>. B)<identifying>. C)<nonidentifying>. D)<protected>. E)There is no label used. <div style=padding-top: 35px>
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
<strong>  In the UML-style entity class ORDERS shown above,SumOfOrders is ________.</strong> A)an entity attribute B)a method C)a constraint D)a class attribute E)None of the above. <div style=padding-top: 35px>
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.
Question
How are entity classes drawn in UML-Style E-R diagrams?
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
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 19: E-R Diagrams and the UML Standard
1
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 simple "1."
E)All of the above.
E
2
Attributes preceded by a + are public.
True
3
In UML,cardinalities are represented by an x ..y format.
True
4
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
5
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
6
UML is intended for modeling and designing object-oriented programs and applications.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
7
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:*
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
8
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
9
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
10
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
11
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
12
Attributes preceded by a # are private.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
13
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
14
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
15
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
16
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
17
Attributes preceded by a + are protected.
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
18
In UML notation,the relationship line in a relationship with a non-ID-dependent weak entity is labeled as .
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
19
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
20
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 of 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
21
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
22
In UML,an attribute preceded by a ________ is "protected."

A)!
B)#
C)-
D)+
E)
Unlock Deck
Unlock for access to all 36 flashcards in this deck.
Unlock Deck
k this deck
23
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
24
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
25
<strong>  In UML notation,the relationship line in a relationship between two strong entities is labeled as:</strong> A)<persistent>. B)<identifying>. C)<nonidentifying>. D)<protected>. E)There is no label used.
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
<strong>  In the UML-style entity class ORDERS shown above,GetOrderNo( ) is a ________.</strong> A)private method B)protected constraint C)public constraint D)public method E)protected method
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
27
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
28
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
29
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
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
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
32
<strong>  In UML notation,the relationship line in a relationship with a non-ID-dependent weak entity is labeled as:</strong> A)<persistent>. B)<identifying>. C)<nonidentifying>. D)<protected>. E)There is no label used.
In UML notation,the relationship line in a relationship with a 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
33
<strong>  In UML notation,the relationship line in a relationship with an ID-dependent weak entity is labeled as:</strong> A)<persistent>. B)<identifying>. C)<nonidentifying>. D)<protected>. E)There is no label used.
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
34
<strong>  In the UML-style entity class ORDERS shown above,SumOfOrders is ________.</strong> A)an entity attribute B)a method C)a constraint D)a class attribute E)None of the above.
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
35
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
36
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
locked card icon
Unlock Deck
Unlock for access to all 36 flashcards in this deck.