CHP6 Flashcards

1
Q

Levels of data modelling:

A
  1. Conceptual (Communication and definition)
  2. Logical (Clarification and detail)
    3, Physical (Technical implementation)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Main components of an ERD (entity relational diagram)

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

Domains

A
  • Attributes have domains and may share them
  • For instance, gender has two possibilities male or female
  • Students and professor may share the same address
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Identifiers

A
  • They are underlined in the ERD
  • Primary Key
  • EG CAR(CAR_YEAR,CAR_COLOUR)
  • The car is the primary key and inside the parameters are its attributes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Composite and simple attributes

A
  • Composite attributes can be subdivided
  • For instance, Address can be subdivided into street, city, state
  • Simple attributes cannot be subdivided for instance sex, age
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Composite key

A
  • In certain circumstances, primary key can be used more than once
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Derived attributes

A
  • Only exist if a value from an attribute is calculated from another attribute.
  • Doesn’t have to be physically present inside the database
    ADVTG: Saves storage space
    DSADVTG: Requires constant maintenance to keep it up-to-date
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Strong and Weak entity

A

WEAK - is dependent on another entity and cannot exist otherwise
- has a primary key that is partially derived from a parent entity (PK & FK)
STRONG - is independent

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