Chapter 4: Entity Relationship Model Flashcards

1
Q

What is an attribute?

A

An attribute is a characteristic of an entity. In Chen notation, they are represented by an oval with a line connecting to an entity (rectangle box). For example, an attribute of the entity sandwich would be cheese.

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

What is a required attribute?

A

A required attribute means that an entity MUST have an existing attribute or characteristic tied to it. An entity of a student must have a first and last name. In Chen notation they are represented by bold letters.

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

What is an identifier (Primary Key)?

A

One or more attributes that uniquely identify an instance of an entity. For example, a car must have a vehicle ID number.

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

What is a Composite Indentifier?

A

A primary key that is composed of more than one attribute.

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

What is a composite and simple attribute?

A

A composite attribute (NOT A COMPOSITIE IDENTIFIER) is an attribute that could be subdivided into multiple different attributes. A simple attribute is an attribute that can’t be subdivided.

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

What are single-valued and multi valued attributes?

A

A single value attribute can only have one value, for example a serial number on a product.

A multi value attribute can have multiple attributes, for example a sweatshirt can be multiple colors.

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

What are the 3 types of relationships?

A

M:N = A many to many relationship.

1: N = A 1 to many relationship.
1: 1 = A 1 to 1 relationship

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

What is a binary relationship?

A

A relationship that flows BOTH ways. Example a customer may generate an invoices and each invoice was generated by a customer.

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

What is a cardinality?

A

The domain of one entities relationship with another entity. For example a college course must have at least 7 students but no more than 21 students.

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