Chapter 2 Flashcards

1
Q

What’s the purpose of creating an ER diagram?

A
  • To design the conceptual model of the database.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is an entity in the ER diagram?

A
  • Real world object distinguishable from other objects. An entity is described using a set of attributes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What’s an entity set?

A
  • A collection of similar entities. ie. All employees

- All entities in the entity set have the same attributes

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

What is the purpose of a relationship?

A
  • It provides an association between two or more entities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the 4 types of relationships?

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
6
Q

What is a weak entity?

A
  • It can only be identified by considering the primary key of another owner entity
  • Owner entity set and weak entity set must participate in a one to many relationship set
  • Weak entity must have total participation in this identifying relationship set.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Describe how the ISA hierarchy works and what is its purpose?

A
  • Similar to inheritance in object oriented languages. Attributes of parent are inherited.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly