Conceptual Data Model Flashcards

Week 2.2 (21 cards)

1
Q

6 steps of the database system development lifestyle

A
  1. planning
  2. requirements collection and analysis
  3. database design
  4. implementation
  5. testing and validation
  6. deployment and maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

why is the design stage important

A
  • important to ensure data integrity, efficiency and scalability
  • emphasise of what data is needed
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what 3 database designs are covered in the design stage

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

describe the conceptual data model

A
  • high level data model that outlines the system’s data requirements
  • to ensure we get precise understanding of the nature of the data and how it is used
  • as a model for communication that is nontechnical and free from ambiguities
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are used to create the conceptual data model

A

entity-relationship (E-R) diagrams

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

3 ways of drawing an E-R diagram

A
  1. UML
  2. Chen’s notation
  3. Crow’s foot
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

describe UML ER diagrams

A
  • rectangle represents an entity
  • top word = name of an entity
  • bottom word = attribute
  • line and arrow = relationship
  • number = possible association of one instance of entity to the other associated entity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

describe chen’s notation ERD

A
  • rectangle = entity
  • oval = attribute of an entity
  • diamond and lines = relationship
  • number = possible association of one instance of entity to the other associated entity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

describe crow’s foot ERD

A
  • rectangle represents an entity
  • top word = name of an entity
  • bottom word = attribute
  • line = relationship
  • crow’s foot = possible association of one instance of entity to the other associated entity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

describe entities

A
  • group of objects with same properties, having an independent existence
  • each instance of an entity is uniquely identified using the primary key attribute
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

whats an entity occurence/ object

A

each uniquely identifiable object of an entity is called an entity occurrence or an object

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

define strong entity

A

whose existence is not dependent on another

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

define weak entity

A

depends upon another entity

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

describe attributes

A
  • property of an entity or relationship
  • simple or composite
  • associated with the domain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

how to model attributes

A
  • {PK} = primary key
  • {PPK} = partial primary key
  • attributes associated with a relationship is shown as a rectangle with a dashed line with the relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

describe relationships

A
  • set of meaningful associations between one or more participating entities
  • number of participants in a relationship = degree
17
Q

model relationships

18
Q

what is constraint also known as

19
Q

what are the 2 forms of multiplicity

A
  1. cardinality
  2. participation
20
Q

define cardinality

A

maximum number of possible relationships for an entity participating in a given relationship

21
Q

define participation

A

whether all or only some instances of an entity participated in a relationship