Conceptual Database using ER Flashcards

1
Q

Entity

A

It is an object in the real world.
Noun is a basis.
Represented by a rectangle

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

Entity Set

A

It is a collection of similar entities.
Represented by a rectangle

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

Relation

A

It is an association among the entity sets.
Verb is a basis.
Represented using a diamond

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

Relationship Set

A

Set of similar relations

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

Attribute

A

Which describes an object.
Represented by an oval/ellipse.

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

Types of Attributes

A
  1. Simple attribute
  2. Composite attribute
  3. Single valued attribute
  4. Multi valued attribute
  5. Stored attribute
  6. Derived attribute
  7. Key attribute
  8. Descriptive attribute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Degree of relationship

A

Specifies the number of ENTITIES participating in the relationship

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

Types of relationships

A

Unary
Binary
N-ary

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

Participation constraints

A
  1. Total Participation
  2. Partial Participation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Total Participation

A

Each entity in E must participate in relation R
Mandatory Participation
Double lines

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

Partial Participation

A

Each entity in E may or may not participate in relation R
Optional Participation
Single line

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

Key Constraints

A

Primary Key Constraints
Foreign Key Constraints
Unique Key Constraints

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

Cardinality Ratio

A

One - to - One
One - to - Many
Many - to - One
Many - to - Many

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

One - to - One

A

Each entity in A is associated with at most one entity in B and Each entity in B is associated with at most one entity in A

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

One - to - Many

A

Each entity in A is associated with zero or many entities in B and Each entity in B is associated with at most one entity in A.

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

Many - to - One

A

Each entity in A is associated with at most one entity in B and Each entity in B is associated with zero or many entities in A.

17
Q

Many - to - Many

A

Each entity in A is associated with zero or many entities in B and Each entity in B is associated with zero or many entities in A.

18
Q

Weak Entity Set

A

Has no key attributes of its own
Must always participate totally
Cardinality b/w owner and weak set is always one to many
Key of owner + partial key –> used to identify weak entities.

19
Q

Class Hierarchy

A

Shows relationship b/w generalized and specialized sets.

20
Q

Aggregation

A

Relationship participating in another relationship.