Chapter 04 Entity Relationship ER Modeling
Chapter 04 Entity Relationship ER Modeling
2. The Crow’s Foot notation is less implementation-oriented than the Chen notation.
a. True
b. False
ANSWER: False
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 118
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Comprehension
3. An entity in the entity relationship model corresponds to a table in the relational environment.
a. True
b. False
ANSWER: True
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 118
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
5. In the Chen and Crow’s Foot notations, an entity is represented with a rectangle containing the entity’s name.
a. True
b. False
ANSWER: True
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 118
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
6. In the original Chen notation, each attribute is represented by an oval with the attribute name connected to an entity
rectangle with a line.
a. True
b. False
ANSWER: True
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 118
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
7. Software vendors have adopted the Chen representation because of its compact representation.
a. True
b. False
ANSWER: False
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 119
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Comprehension
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 120
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
11. Connectivities and cardinalities are established by concise statements known as business rules.
a. True
b. False
ANSWER: True
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 126
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
14. A weak relationship exists if the primary key of the related entity contains at least one primary key component of the
parent entity.
a. True
b. False
ANSWER: False
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 127
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
15. A weak entity has a primary key that is partially or totally derived from the parent entity in the relationship.
a. True
b. False
ANSWER: True
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 129
16. In a 1:M relationship, to avoid the possibility of referential integrity errors, the data of the "1" side must be loaded
first.
a. True
b. False
ANSWER: True
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 129
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Comprehension
18. The existence of a mandatory relationship indicates that the minimum cardinality is 0 or 1 for the mandatory entity.
a. True
b. False
ANSWER: False
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 131
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
ANSWER: True
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 136
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
20. Referential integrity and participation are both bidirectional, meaning that they must be addressed in both directions
along a relationship.
a. True
b. False
ANSWER: False
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 137
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
21. To implement a small database, a database designer must know the "1" and the "M" sides of each relationship and
whether the relationships are mandatory or optional.
a. True
b. False
ANSWER: True
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 139
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Comprehension
23. The entity relationship diagram (ERD) represents the _____ database as viewed by the end user.
a. condensed b. physical
c. logical d. conceptual
ANSWER: d
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 118
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
24. The _____ notation of entity-relationship modelling can be used for both conceptual and implementation modelling.
a. Bachman b. UML
c. Chen d. Crow's Foot
ANSWER: b
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 118
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
25. A(n) _____ is the set of possible values for a given attribute.
a. domain b. range
c. identifier d. key
ANSWER: a
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 119
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
29. The conceptual model can handle _____ relationships and multivalued attributes.
a. 1:1 b. M:N
c. 1:M d. 1:N
ANSWER: b
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 122
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
30. A derived attribute is indicated in the Chen notation by a _____ that connects the attribute and an entity.
31. The decision to store _____ attributes in database tables depends on the processing requirements and the constraints
placed on a particular application.
a. multivalued b. derived
c. single-valued d. composite
ANSWER: b
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 123-124
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
33. _____ expresses the minimum and maximum number of entity occurrences associated with one occurrence of the
related entity.
a. Connectivity b. Relationship
c. Dependence d. Cardinality
ANSWER: d
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 125
34. In the entity relationship diagram (ERD), cardinality is indicated using the _____ notation, where max is the
maximum number of associated entities and min represents the minimum number of associated entities.
a. (max, min) b. (min, max)
c. [min ... max] d. {min|max}
ANSWER: b
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 125
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Comprehension
35. When the specific cardinalities are not included on the diagram in Crow's Foot notation, cardinality is implied by the
use of _____.
a. symbols b. attributes
c. images d. tables
ANSWER: a
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF:p. 125
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
36. Knowing the minimum and maximum number of _____ occurrences is very helpful at the application software level.
a. object b. attribute
c. data d. entity
ANSWER: d
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 125
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
37. An entity is said to be _____-dependent if it can exist in the database only when it is associated with another related
entity occurrence.
Copyright Cengage Learning. Powered by Cognero. Page 10
Chapter 04: Entity Relationship (ER) Modeling
a. existence b. relationship
c. business d. data
ANSWER: a
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 126
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
38. If an entity can exist apart from all of its related entities, then it is existence-independent, and it is referred to as a(n)
_____ entity.
a. weak b. alone
c. unary d. strong
ANSWER: d
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 126
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
39. A _____ entity has a primary key that is partially or totally derived from the parent entity in the relationship.
a. strong b. weak
c. business d. child
ANSWER: b
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 129
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
40. The existence of a(n) _____ entity indicates that its minimum cardinality is zero.
a. ternary b. optional
c. strong d. weak
ANSWER: b
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 131
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
41. A _____ relationship exists when an association is maintained within a single entity.
a. unary b. ternary
c. strong d. weak
ANSWER: a
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 134
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
43. If an employee within an EMPLOYEE entity has a relationship with itself, that relationship is known as a _____
relationship.
a. self b. self-referring
c. looping d. recursive
ANSWER: d
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 135
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Comprehension
44. To simplify the conceptual design, most higher-order relationships are decomposed into appropriate equivalent _____
relationships whenever possible.
a. unary b. binary
c. strong d. weak
Copyright Cengage Learning. Powered by Cognero. Page 12
Chapter 04: Entity Relationship (ER) Modeling
ANSWER: b
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 135
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
45. The entity relationship model uses the associative entity to represent a(n) _____ relationship between two or more
entities.
a. M:N b. 1:M
c. N:1 d. M:1
ANSWER: a
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 139
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
46. When using the Crow's Foot notation, the associative entity is indicated by _____ relationship lines between the
parents and the associative entity.
a. dotted b. double
c. triple d. solid
ANSWER: d
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 139
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
48. The Crow’s foot symbol with two vertical parallel lines indicates _____ cardinality.
a. (0,N) b. (1,N)
c. (1,1) d. (0,1)
ANSWER: c
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 141
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: Developing an ER Diagram
KEYWORDS: Bloom's: Knowledge
49. If Tiny College has some departments that are classified as “research only” and do not offer courses, the COURSE
entity of the college database would be _____ the DEPARTMENT entity.
a. existence-dependent on b. independent of
c. mandatory for d. optional to
ANSWER: d
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 142
LEARNING OBJECTIVES: DATA.CORO.15.LO4-2 - LO4-2
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: Developing an ER Diagram
KEYWORDS: Bloom's: Application
50. In organizations that generate large number of transactions, _____ are often a top priority in database design.
a. relationships among entities b. logical design standards
c. naming conventions d. high processing speeds
ANSWER: d
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 148
LEARNING OBJECTIVES: DATA.CORO.15.LO4-3 - LO4-3
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: Developing an ER Diagram
KEYWORDS: Bloom's: Knowledge
51. Complex _____ requirements may dictate data transformations, and they may expand the number of entities and
attributes within the design.
a. information b. entity
Copyright Cengage Learning. Powered by Cognero. Page 14
Chapter 04: Entity Relationship (ER) Modeling
c. design d. processing
ANSWER: a
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 149
LEARNING OBJECTIVES: DATA.CORO.15.LO4-3 - LO4-3
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: Developing an ER Diagram
KEYWORDS: Bloom's: Knowledge
55. A person’s Social Security number would be an example of a(n) _____ attribute.
ANSWER: single-valued
POINTS: 1
DIFFICULTY: Difficulty: Easy
56. A(n) _____ attribute need not be physically stored within the database.
ANSWER: derived
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 123
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
57. A relationship _____ is difficult to establish if only one side of the relationship is known.
ANSWER: classification
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 124
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
58. When indicating cardinality, the first value represents the _____ number of associated entities.
ANSWER: minimum
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 125
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
59. The concept of relationship strength is based on how the _____ of a related entity is defined.
ANSWER: primary key
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 126
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
61. The Crow’s Foot notation depicts the strong relationship with a(n) _____ line between the entities.
ANSWER: solid
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 128
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
63. The Chen notation identifies a weak entity by using a double-walled entity _____.
ANSWER: rectangle
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 130
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
64. Participation is _____ if one entity occurrence does not require a corresponding entity occurrence in a particular
relationship.
ANSWER: optional
Copyright Cengage Learning. Powered by Cognero. Page 17
Chapter 04: Entity Relationship (ER) Modeling
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 131
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
65. In Crow’s Foot notation, an optional relationship between entities is shown by drawing a(n) _____ on the side of the
optional entity.
ANSWER: small circle (O)
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 131
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
66. Failure to understand the distinction between mandatory and optional _____ in relationships might yield designs in
which awkward (and unnecessary) temporary rows (entity instances) must be created just to accommodate the creation of
required entities.
ANSWER: participation
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 133
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
67. A relationship _____ indicates the number of entities or participants associated with a relationship.
ANSWER: degree
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 134
LEARNING OBJECTIVES: DATA.CORO.15.LO4-1 - LO4-1
NATIONAL STANDARDS: United States - BUSPROG: Analytic - Analytic
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Knowledge
69. Identifying the attributes of entities helps in the better understanding of _____ among entities.
ANSWER: relationships
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 146
LEARNING OBJECTIVES: DATA.CORO.15.LO4-2 - LO4-2
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: Developing and ER Diagram
KEYWORDS: Bloom's: Knowledge
70. _____ not only helps database designers to stay on track during the design process, it also enables them to pick up the
design thread when the time comes to modify the design.
ANSWER: Documentation
POINTS: 1
DIFFICULTY: Difficulty: Easy
REFERENCES: REF: p. 152
LEARNING OBJECTIVES: DATA.CORO.15.LO4-3 - LO4-3
NATIONAL STANDARDS: United States - BUSPROG: Analytic
TOPICS: Developing an ER Diagram
KEYWORDS: Bloom's: Knowledge
71. Explain multivalued attributes with the help of examples. How are multivalued attributes indicated in the Chen Entity
Relationship model?
ANSWER: Multivalued attributes are attributes that can have many values. For instance, a person may have
several college degrees, and a household may have several different phones, each with its own
number. Similarly, a car's color may be subdivided into many colors for the roof, body, and trim. In
the Chen Entity Relationship model, multivalued attributes are shown by a double line connecting the
attribute to the entity.
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 121
LEARNING OBJE DATA.CORO.15.LO4-1 - LO4-1
CTIVES:
NATIONAL STANDUnited States - BUSPROG: Analytic
ARDS:
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Comprehension
related entity does not contain a primary key component of the parent entity. By default, relationships
are established by having the primary key of the parent entity appear as a foreign key (FK) on the
related entity (also known as the child entity). For example, suppose the 1:M relationship between
COURSE and CLASS is defined as:
COURSE (CRS_CODE, DEPT_CODE, CRS_DESCRIPTION, CRS_CREDIT)
CLASS (CLASS_CODE, CRS_CODE, CLASS_SECTION, CLASS_TIME, ROOM_CODE,
PROF_NUM)
In this case, a weak relationship exists between COURSE and CLASS because CRS_CODE (the
primary key of the parent entity) is only a foreign key in the CLASS entity. In this example, the
CLASS primary key did not inherit a primary key component from the COURSE entity.
POINTS: 1
DIFFICULTY: Difficulty: Moderate
REFERENCES: REF: p. 127
LEARNING OBJE DATA.CORO.15.LO4-1 - LO4-1
CTIVES:
NATIONAL STANDUnited States - BUSPROG: Analytic
ARDS:
TOPICS: The Entity Relationship Model (ERM)
KEYWORDS: Bloom's: Comprehension
74. What is a ternary relationship? Provide some business rules examples that specify the need for a ternary or higher-
order relationship.
ANSWER: A ternary relationship implies an association among three different entities. Although most
relationships are binary, the use of ternary and higher-order relationships does allow the designer
some latitude regarding the semantics of a problem. Some business rules examples that specify the
need for a ternary relationship are:
• A DOCTOR writes one or more PRESCRIPTIONs.
• A PATIENT may receive one or more PRESCRIPTIONs.
• A DRUG may appear in one or more PRESCRIPTIONs. (Assume that the business rule states that
each prescription contains only one drug. In short, if a doctor prescribes more than one drug, a
separate prescription must be written for each drug.)
POINTS: 1
Copyright Cengage Learning. Powered by Cognero. Page 20
Chapter 04: Entity Relationship (ER) Modeling