Lecture 4- Entity Relations Model Flashcards

1
Q

Describe the database design process

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

What are the three things that describe ER model

A
  1. Entities
  2. Relationships
  3. Attributes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is an entity?

A

A distinguishable object

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

What is an entity set?

A

A set of entities fo the same type

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

What is a relationship?

A

Represents the fact that certain entities are related to each other

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

What is a relationship set?

A

Set of relationships of the same type

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

What is an attribute?

A

Describes a property of an entity or a relationship

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

What is a key?

A

A minimal set of attributes that uniquely identifies each entity in an entity set

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

What is a role?

A

The function of an entity set in a relationship set

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

What type of relationship is this?

A

Binary, many to many

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

What type of relationship is this?

A

Binary, many to one

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

What type of relationship is this?

A

Binary, one to one

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

What type of relationship is this?

A

Ternary relationship

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

What type of relationship is this?

A

Participation constraint

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

What is this double circle?

A

Set value attributes

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

What relationship is this?

A

Weak entity

17
Q

What is a weak entity?

A

A weak entity models an entity which is part of an owner entity, and it cannot be uniquely identified without the primary key of the owner entity

18
Q

What type of relationship is a weak entity?

A

Many to one

19
Q

____ cannot be uniquely identified by their own attributes alone and rely on the strong entitys primary key for their identification

A

Weak entities

20
Q

What type of relationship is this?

A

ISA Hierarchy

21
Q

What are some properties of ISA?

A
  • Inheritance
  • Transitivity = hierarchy of IsA
  • Reasons for using IsA
22
Q

Superclass vs subclass

A
  • Superclass = generalization (it contains attributes that are common to all entities in the hierarchy)
  • Subclass = specialization (it inherits all the attributes of the superclass and can have additional attributes of its own)
23
Q

Review the types of relationships

24
Q

Create this table

25
Create this table
26
Create this table
27
Create this table
Relationship with constraints
28
Create this table
Relationship with constraints
29
Create this table
Participation constraints
30
Create this table
Weak entities
31
Create this table
Set value attributes
32
Create this table
IsA Hierarchy