chapter 2 Flashcards

1
Q

what is a conceptual model

A
  • -> captures the functional and informational needs of the business
  • -> it is based on current needs but may reflect future needs
  • -> addresses the needs of the business but does not address its implementation
  • -> result of completing the data modelling process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does a conceptual model identify

A
  • -> important entities

- -> relationship among entities

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

what does a conceptual model not specify

A
  • -> attributes

- -> unique identifiers

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

why is a conceptual model important for a business

A
  • -> describes exactly the information needs for the business
  • -> facilitates discussion
  • -> prevents mistakes and understandings
  • -> forms important ideal system documentation
  • -> forms a sound basis for physical database design
  • -> documents the process of the business
  • -> takes into account the regulations and laws governing this industry
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is a logical model

A
  • -> includes all entities and relationships among them
  • -> is called an entity relationship model (ERM)
  • -> is illustrated in an ERD
  • -> specifies all attributes and UIDs for each entity
  • -> determines attribute optionality
  • -> determines relationship optionality and cardinality
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is a physical model

A
  • -> extension of a logical data model
    - -> defines table definition, data types, and precision
    - -> identifies views, indexes and other database objects
  • -> describes how the objects should be implemented in specific database
  • -> shows all table structures including columns, primary key, and foreign keys
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is data modelling

A

–> process of capturing the important concepts and rules that shape a business and depicting them visually on a diagram.

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

data models show users the ___________ that their physical models will contain

A

data

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

a conceptual model is not concerned with how the _________ will be implemented

A

physical model

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

our technology rich world produces vast quantities of facts in need of ___________

A

structure and order

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

why is it important to learn about entities

A

They are things about which we store dat a

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

why is it important to learn about attributes

A
  • -> provide more specific information about the entity

- -> attributes help you distinguish between one instance and another by providing greater detail for the entity

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

what is the example of attributes

A

–> when you are placing a restaurant order then you have to list the individual food items ordered to calculate the total bill.

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

what is the purpose of unique identifiers

A

distinguish one instance of an entity from anothe r

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

what is an example of unique identifier

A

–> in a classroom, you need to distinguish between one student and another

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

what is an entity

A
  • -> something of significance to the business about which data must be known
  • -> a name for a set of similar things that you can list
  • -> usually a noun
  • -> entities have an instance
17
Q

what is an instance

A

–> an instance is a single occurrence of an entity

18
Q

give 3 examples of entities and instances

A

entities are

  • -> person
  • -> job
  • -> animal

instances are

  • -> steve jobs, elon musk, sheldon cooper
  • -> engineer, doctor, lawyer
  • -> tiger, shark, monkey
19
Q

entities can be _______, ________ and __________

A

tangible -> person, product
intangible -> skill level
event -> concert

20
Q

what is an attribute

A
  • -> represents something of significance to the business
  • -> describes an entity
  • -> quantify an entity
  • -> qualify an entity
  • -> classify an entity
  • -> specify an entity

–> AN ATTRIBUTE HAS A SINGLE VALUE

21
Q

an attribute has values called ____________

A

data types/formats

–> EACH ATTRIBUTE STORES ONE PIECE OF DATA OF ONE SPECIFIC DATA TYPE

22
Q

what are volatile attributes

A

some attributes have values that constantly change

23
Q

what are non volatile attributes

A

Attributes which do not change

24
Q

if given a choice which attribute should you select

A

non volatile attribute

25
Q

what are mandatory attributes

A

attributes that must contain a value

26
Q

what are optional attributes

A

attributes that may either contain a value or be left null

27
Q

what is the purpose of ERD

A

consistent tool

used to represent the data requirements of a business regardless of the type of database used or even in the absence of one

28
Q

what makes a implementation free model

A

a good conceptual model is a model which stays the same regardless of the type of database the system is eventually built/implemented on `

–> this is what it means when the model is implementation free

29
Q

what is an entity relationship model

A

–> list of all entities and attributes as well as all relationships between the entities that are of importance

–> provides background information such as entity descriptions, data types, constraints

–> the model does not require a diagram but a diagram is a very useful tool

30
Q

what are the 4 goals of ER modelling

A
  • -> capture all required data
  • -> ensure that data only appears once
  • -> locate data in a predictable, logical place
  • -> model no data that is derivable from other data already modeled
31
Q

what is a uid made of

A

attributes and relationships