Entity Relationships Flashcards

1
Q

What is an entity

A

• An entity may be any object, class, person or place.
• In the ER diagram, an entity can be represented as rectangles.
• Consider an organization as an example- manager, product,
employee, department etc. can be taken as an entity.

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

What is weak entity

A

a. Weak Entity
• An entity that depends on another entity called a weak entity.
• The weak entity doesn’t contain any key attribute of its own.
• The weak entity is represented by a double rectangle.

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

Describe attributes

A

The attribute is used to describe the property of an entity.
• Eclipse is used to represent an attribute.
• For example, id, age, contact number, name, etc. can be
attributes of a student.

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

Mention types of attributes

A

Key attribute
Composite
Multivalued

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

Describe key attributes

A

a. Key Attribute
• The key attribute is used to represent the main characteristics of an entity.
• It represents a primary key.
• The key attribute is represented by an ellipse with the text underlined.

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

Describe composite

A

• An attribute that composed of many other attributes is known as a
composite attribute

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

What is a multivalued attribute

A

• An attribute can have more than one value.

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

W hat is derived entity

A

• An attribute that can be derived from other attribute is known as a derived
attribute.

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

What is relationship

A

• A relationship is used to describe the relation between
entiti

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

Mention types of keys

A

Primary key
Candidate key
Super key
Foreign key
Alternate key
Composite key
Artifici key

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

Describe composite key

A

Whenever a primary key consists of more than one attribute, it is known as
a composite key.
• This key is also known as Concatenated Key.

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