Unit 6 : Entity Relationship Model Flashcards

1
Q

What ERD represents to end user?

A
  1. Represents conceptual database as viewed by end user
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

List out the main components of ERD’s depict database ( 3 )

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

What does ER model forms?

A
  1. The basis of an ERD diagram
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does entities refer to?

A
  1. Refers to entity set and not to single entity occurence
  • Table in relational environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What models can we draw?

A
  1. Chen Models
  2. Crow’s Foot Models
  • Chen Models are like a fan , whle Crow’s is like a foot
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Do attribute have domain?

A
  1. Yes, it may also share a domain
  • Domain is attribute’s set of possible values
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

How can we know there is primary keys in ERD?

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

What is a composite primary keys ( Composite Keys )

A
  1. Primary keys ideally comprosed of more than one attribute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Is it possible to use composite key for more than one attribute

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

What can be subdivided? What can’t be subdivided? ( Composite Attribute, Simple Attribute )

A
  1. Composite Attribute
  2. Simple Attribute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A single-value attribute can have how many attributes?

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

A multivalued attribute can have how many attributes?

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

What are derived attributes?

A
  1. Attribute whose value may be calculated ( derived ) from other attributes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Does derived attributes needed to be physically stored within database?

A
  1. No
  • It can be derived by using an algorithm
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the advantages on stored derived attribute? ( 3 )

A
  1. Saves CPU processing cycles
  2. Data value is readily available
  3. Can be used to track of historical data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the disadvantages of stored derived attribute?

A
  1. Requires constant maintenance to ensure derived value is current, especially if any values used in the calculation change
17
Q

What are the advantages in not stored derived attribute? ( 2 )

A
  1. Saves storage space
  2. Computation always yields current value
18
Q

What are the disadvantages in not stored derived attribute

A
  1. Uses CPU processing cycles
  2. Adds coding complexity to queries
19
Q

What relationships than can be classified as?

A
  1. 1 : M
20
Q

Will relationships between entities always operate in both directions?

A
  1. Yes
  • Always operate in both directions
21
Q

What is the term connectivity used?

A
  1. Used to describe the realtionship classification
22
Q

What is the term cardinality used?

A
  1. Expresses minimum and maximum number of entity occurences associated with one occurence of related entity
23
Q

What can connectivity and cardinality established?

A
  1. established by very concise statements known as business rules
24
Q

Who usually determines an entity can be described as weak based on what ?

A
  1. Database designer
  2. Business Rules
25
Q
A