Unit 7 : Entity Relationship Model ( Part 2 ) Flashcards

1
Q

What is optional participation in a relationship?

A
  1. Means one entity occurrence does not require a corresponding entity occurrence in a particular relationship.
  • A customer may have zero or more orders, meaning the relationship between the customer and orders is optiona
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is mandatory participation in a relationship?

A
  1. Mans one entity occurrence requires a corresponding entity occurrence in a particular relationship.
  • A student must be enrolled in at least one course, meaning the relationship between the student and course is mandatory.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does relationship participation refers to?

A
  1. Refers to how entities participate in a relationship in a database model, especially in the context of an Entity-Relationship (ER) diagram.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Can an entity with optional participation exist without being part of a relationship?

A

Yes, an entity with optional participation can exist without being part of a relationship.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the degree of relationship indicates?

A
  1. Number of entities or participants associated with a relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

List out all the 4 relationship in relationship degree

A
  1. Unary Relationship
  2. Binary Relationship
  3. Ternary Relationship
  4. Quaternary Relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is unary relationship?

A
  1. Association is mainteined within single entry
  • An employee manages another employee (relationship within the same entity “Employee”).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is binary relationship?

A
  1. Two entities are associated
  • A customer places an order (relationship between “Customer” and “Order”).
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is ternary relationship?

A
  1. Three entities are associated
  • A supplier provides a product to a warehouse (relationship among “Supplier,” “Product,” and “Warehouse”)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is quaternary relationship?

A
  1. Four entities are associated
  • A project involves an employee, client, department, and supervisor (relationship among “Project,” “Employee,” “Client,” and “Department”)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is a recursive relationship?

A
  1. Relationship exist between occurrences of the same entity set
  • An employee supervises another employee. Both are part of the same entity set “Employee.”
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Where are recursive relationships typically found?

A
  1. Naturally found within unary relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Can you have a recursive relationship in a binary or ternary relationship?

A
  1. No, recursive relationships are specific to unary relationships where one entity type relates to itself.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What type of relationship involves an entity relating to itself?

A
  1. A unary relationship, where an entity is associated with itself.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is composite entities also known as?

A
  1. Bridge entities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is composite entities?

A
  1. Composed of primary keys of each of the entities to be connected
17
Q

Can composite entities contain attributes?

A
  1. Yes , but may only contain additional attributes that play no role in connective process
18
Q
A