EECS 3421 Lecture 2

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

22 Terms

1
New cards

What does an entity represent in an E-R diagram?

A real-world object or concept about which data is collected

2
New cards

Which of the following is a valid example of a composite attribute?

Address (with City, Street Name, Zip code, ..)

3
New cards

What type of attribute is 'Age,' if it is calculated from 'DateOfBirth'?

Derived

4
New cards

What is cardinality in an E-R diagram?

The number of instances of one entity associated with another entity

5
New cards

In an E-R diagram, which of the following best describes the purpose of a weak entity?

To represent an entity dependent on another entity for identification

6
New cards

Which of the following scenarios is best represented by a ternary relationship?

A supplier provides specific parts for a project

7
New cards

Which of the following is true about a recursive relationship?

It is a relationship where an entity is related to itself.

8
New cards

Which of the following statements about cardinality constraints is incorrect?

Maximum cardinality must always be greater than one.

9
New cards

Which of the following is NOT true about primary keys?

A primary key value can be null for certain records

10
New cards

What is the main purpose of a participation constraint in an E-R diagram?

To specify the minimum and maximum cardinalities of a relationship

11
New cards

When should an attribute of an entity be moved to a separate entity?

When it is multivalued

12
New cards

Which of the following relationships requires an associative (composite) entity for proper modeling?

Many-to-Many

13
New cards

Which of the following scenarios requires a recursive (unary) relationship?

An employee supervises other employees.

14
New cards

Attribute

Characteristic or property of an entity

15
New cards

Relationship

Association between entities

16
New cards

Composite entity (Associative entity)

Represents both an entity and relationship

17
New cards

binary relationship

when two entities are associated

18
New cards

unary relationship

an association is maintained within a single entity. (Recursive relationship e.g. employee)

19
New cards

ternary relationship

when three entities are associated. (e.g. real estate sales: buyer, seller, and property)

20
New cards

Relationship type

used to describe the relationship classification (e.g., one-toone, one-to-many, and many-to-many)

21
New cards

Relational Participation

Optional, Mandatory

22
New cards

degree of a relationship

indicates the number of entities involved