Data Modeling Flashcards

1
Q

what is data modeling

A

process of creating a layout of information fields to structure and organize data

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

what is data modeling used for

A
  • means of communication with users
  • blueprint for proposed database system for the organization
  • used to establish a. single version of the truth
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is an external data model

A

-depiction of the data base system form the viewpoints of individual user groups

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

what does an external data model do

A

-provides a view of the data base from the end users point of view
-can look different for each user
`

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

what model resmebles the real world when seen by the end user

A

external data model

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

what is a conceptual data model

A
  • helps in gathering business requirements and clarifying an understanding of concepts in the business
  • based on info gathered from the business requirements
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what form does a conceptual data model take

A

-usually a ERD( entity relationship diagram)

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

what is an ERD

A

-entity relationship diagram`

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

what is a logical data model

A

based on more detailed info gathered form the business requirments

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

which is more complex logical models or conceptual

A

logical

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

what does a logical model do

A

show the layout of data,

  • how various entities are related to each other
  • the size and type of data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what is a physical data model

A

-indicates the technical details for implementation as a database structure

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

what does a physical data model represent

A

-represents the actual design “blueprint” or a relational database

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

what is an ERD

A

-a chart the visually represents the relationship between database entities

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

what does an ERD model

A
  • model an organizations data storeage

- 3 main components

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

what are the 3 main components of an ERD

A
  1. entities
  2. attributes
  3. relationships
17
Q

what is an entity

A

noun/thing

18
Q

what is a relationship

A

verb/what happened

19
Q

what is an attribute

A

adjective/adverb

20
Q

3 properties of entities

A
  1. represents a collection or sets
    - tangible or abstract
  2. represents sets of things that are of interest to the organization
  3. unique name
21
Q

what is a primary key

A

unique identifier

-for a single instance entitty

22
Q

what is a foreign key

A

a column of group of column in a relational database table that provides a link between data in two tables

  • acts as a cross reference’
  • references the primary key
23
Q

what is cardinality

A

-the number of instances in one entity which are associated with or linked to the number of instances in another

24
Q

1:1

A

one to one

25
Q

1:M

A

one to many

26
Q

M:M

A

many to many

27
Q

primary key characteristics

A
  • unique
  • mandatory
  • only one primary key per entity
  • can be composed of many attributes
28
Q

foriegn key facts

A
  • does not have to be unique
  • does not have to be mandatroy
  • do not have to contian a alue
  • name does not have tp match primary key
  • data type must match primary key
29
Q

attribute facts

A
  • derived attributes should not be modelled
  • cannot have the same name as the within the same entity
  • can have the same name if they are different entities
30
Q

ERD things to consider

A
  • is the model stable
  • does it support all the de data we need to store
  • can is be made avaible to support additional info requirements
  • is a diagram an efficient solution
  • is the ERD eaisly understood
  • does the design fot well with the existing database structure