Hint: Attributes are always ovals in ER diagrams [OK]
Common Mistakes:
Choosing diamond instead of oval
Confusing entity and attribute shapes
Selecting shapes not used in ER diagrams
3. Consider an ER diagram where a diamond connects two rectangles with a line labeled '1' on one side and 'N' on the other. What does this cardinality mean?
medium
A. One entity relates to one entity only
B. Many entities relate to one entity
C. One entity relates to many entities
D. Many entities relate to many entities
Solution
Step 1: Understand cardinality symbols
'1' means one entity, 'N' means many entities.
Step 2: Interpret relationship
The side with '1' relates to many entities on the 'N' side, so one entity relates to many entities.
Final Answer:
One entity relates to many entities -> Option C
Quick Check:
Cardinality 1 to N = One to many [OK]
Hint: 1 to N means one entity connects to many [OK]
Common Mistakes:
Reversing the direction of cardinality
Confusing 'N' with one
Ignoring the diamond relationship
4. Identify the error in this ER diagram description: "A diamond represents an attribute, and an oval represents a relationship."
medium
A. Diamond represents a relationship, not an attribute
B. Oval represents an entity, not a relationship
C. Rectangle represents an attribute, not a relationship
5. You want to model a "Student" entity with attributes "StudentID" (unique), "Name", and "PhoneNumber" in an ER diagram. Which notation correctly shows the uniqueness of "StudentID"?
hard
A. "StudentID" attribute inside a diamond connected to the Student rectangle
B. "StudentID" attribute underlined inside an oval connected to the Student rectangle
C. "StudentID" attribute inside a rectangle connected to the Student oval
D. "StudentID" attribute inside an oval with a double border connected to the Student rectangle
Solution
Step 1: Recall notation for key attributes
Key (unique) attributes are shown as underlined text inside ovals.
Step 2: Apply notation to "StudentID"
"StudentID" should be underlined inside an oval connected to the Student entity rectangle.
Final Answer:
"StudentID" attribute underlined inside an oval connected to the Student rectangle -> Option B
Quick Check:
Key attribute = Underlined oval [OK]
Hint: Underline key attributes inside ovals [OK]
Common Mistakes:
Using diamond for attributes
Placing attributes inside rectangles
Using double border for uniqueness
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.