ER Model and Business Rules
Q. In an ER model, how is a one-to-many relationship typically represented?
-
A.
With a single line connecting two entities
-
B.
With a crow's foot notation
-
C.
With a dashed line
-
D.
With a double line
Solution
A one-to-many relationship is typically represented with a crow's foot notation.
Correct Answer: B — With a crow's foot notation
Q. What does the term 'cardinality' refer to in an ER model?
-
A.
The number of attributes in an entity
-
B.
The number of entities in a relationship
-
C.
The type of data stored in an entity
-
D.
The uniqueness of an entity
Solution
Cardinality refers to the number of entities involved in a relationship.
Correct Answer: B — The number of entities in a relationship
Q. What is a weak entity in an ER model?
-
A.
An entity that cannot exist without a strong entity
-
B.
An entity with no attributes
-
C.
An entity that has a composite key
-
D.
An entity that is not related to any other entity
Solution
A weak entity is one that cannot exist without a strong entity.
Correct Answer: A — An entity that cannot exist without a strong entity
Q. What is the primary key in an entity?
-
A.
A unique identifier for each record
-
B.
An attribute that can be null
-
C.
A foreign key from another entity
-
D.
An attribute that is not used in relationships
Solution
The primary key is a unique identifier for each record in an entity.
Correct Answer: A — A unique identifier for each record
Q. Which of the following best describes a business rule?
-
A.
A guideline for database design
-
B.
A constraint on data values
-
C.
A policy that governs data usage
-
D.
All of the above
Solution
A business rule can be a guideline, a constraint, or a policy regarding data.
Correct Answer: D — All of the above
Q. Which of the following is an example of an attribute in an ER model?
-
A.
Customer
-
B.
Orders
-
C.
OrderID
-
D.
Many-to-Many
Solution
OrderID is an example of an attribute in an ER model.
Correct Answer: C — OrderID
Showing 1 to 6 of 6 (1 Pages)