ER_Modeling Flashcards

1
Q

What is a Required Attribute?

A

it is an attribute that must have a value at the time the instance is created. NULL can not be a value

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

What is an Optional Attribute?

A

it is an attribute that does not require a value at the time the instance is created. There can be a NULL value

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

What are Domains?

A

they are the set of possible values that an attribute can contain

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

How are Domains written?

A

(<mininum>, <maximum>)
(<value1>, <value2>, <valueN>)</valueN></value2></value1></maximum></mininum>

e.g QPA(0, 4)

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

What are Identifiers?

A

they are composed of one or more attributes that uniquely identify one instance from the other

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

How are Identifiers represented in the ERD?

A

by placing an underline beneath the attribute

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

What are Composite Identifiers?

A

they are composed of two or more attributes that uniquely identify one instance from the other

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

What is a Composite Attribute?

A

it is an attribute that can be subdivided into several new attributes

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

What is a Simple Attribute?

A

it is an attribute that can not be subdivided into several new attributes

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

What is a Single-valued Attribute?

A

it is an attribute that can only have one value.

NOTE: a single-valued attribute is not necessarily a simple attribute

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

What are Multivalued Attributes?

A

they are attributes that can have many values, and they are represented in an ERD by connecting a double line from the multivalued attribute to the related entity.

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

Are multivalued attributes allowed in the RDBMS?

A

no

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

What are the two methods in implementing multivalued attributes to the RDBMS

A

a) create new attributes within the entity for the multivalued attribute

b) create a new entity using the components of the multivalued attribute

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

What are Derived Attributes?

A

they are attributes whose values are calculated based on other attributes

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

How are derived attributes represented in ERD’s?

A

using a dashed line to connect the attribute to the related entity

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

What is a Cardinality?

A

it is the minimum and maximum amount of times that an entity can occur

NOTE: a DBMS can not handle the implementation of a cardinality instead the cardinality is implemented in the application program

17
Q

What are Weak (non-identifying) Relationships?

A

this occurs when a related entity’s primary key does not contain the primary key of its parent entity

18
Q

What are Strong (identifying) Relationships?

A

this occurs when a related entity’s primary key also contains the primary key of its parent entity

NOTE: the order in which the tables are created and loaded is important because the related entity depends on the existence of its parent entity

19
Q

What is a Weak Entity?

A

it is an entity type whose existence depends on some other entity type

NOTE: it does not typically have its own identifier instead it relies on an attribute (partial identifier) of its strong related entity to identify itself

20
Q

What is a Strong Entity?

A

it is an entity that exists independently of other entity types

21
Q

What is an Optional Participation?

A

this exists when an entity does not require the occurrence of another entity type, so its minimum cardinality is 0

22
Q

What is a Mandatory Participation?

A

this exists when an entity requires the occurrence of another entity type, so its maximum cardinality is 1

23
Q

What is a Relationship Degree?

A

this indicates how many entities are associated with a relationship

24
Q

What is a Unary Relationship?

A

this exists when an association occurs within a single entity

25
Q

What is a Binary Relationship?

A

this exists when two entities are associated in a relationship, this is the most common form of relationship

26
Q

What is a Ternary Relationship?

A

this exists when there is an association among three different entities in a relationship