Data Modeling & Table Mapping (ISYS) Flashcards

1
Q

Data modeling

A

process used to define data requirements needed to support the business processes within organizations

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

Conceptual data model

A

technology-independent specification about the data
(during data modeling, data requirements are initially recorded as conceptual data model)
-constructed through collab with business stakeholders

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

physical data model

A

model that is used by the organization

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

entity relationship diagram (ERD) method

A
  • most common conceptual database modeling approaph

- includes three logical constructs: entities, attributes, and relationships

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

entities

A

-person, place, or thing about which an organization wishes to save information
EX: employee, state, order, and time sheet
-logical concept in the mind of the analyst that represents a category of objects that have common characteristics or attributes we want to store

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

attributes

A

-properties of entities that an organization cares about
EX: color, employment date, name, and SS number
-represents a fact that an organization wants to store for eacj instance of an entity
-EX: ID number first name, last name, birth date, employment date

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

relationships

A
  • verbs that describe how entities are related to each other
  • entity relationship entity phrase is called a “relationship entity pair” (bidirectional)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

instance

A
  • single occurrence of the object that correspond to a specific entity
  • when a conceptual database is mapped to a physical database, a separate table is typically created to represent each entity, each record within the table represents once instance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

cardinality

A
  • how many instances in one table can be related to one or more instances of related entity
  • -specification of the maximum number of instances of one entity can be related to the number of instances of another entity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

one-to-one (1:1)

A

an instance of entity A can relate to one and only one instance of B and vice versa
EX: one wife has one husband

2 types: mandatory-participation relationships and optional-participation relationship

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

one-to-many (1:M)

A

one instance of entity A can relate to one or many instances of entity B, but an instance of entity B can only relate to instance A
EX: mother has many children, children have only 1 mother

-put the primary key from “one” side as a foreign key in the table on the “many” side of the relationship

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

many-to-many (M:M)

A

an instance of entity A can relate to one or more instances of entity B while instances of B can relate to one or more instances of entity A
EX: uncle has many nephews, nephews have many uncles

  • to implement the relationship link for many-to-many cardinality, we need to create a new Relationship (intersection) table
  • the primary keys in the relationship table are the primary keys of all the entities participating in the relationship
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

serialized instances

A

-each individual instance is assigned a unique identifier

EX: Cars have VIN (Vehicle Identification Number)

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

virtual instances

A

-same identifier is assigned to all the instances of that entity
EX: cereal, broom

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

table mapping

A
  • ERD’s mapped to database table with primary keys and foreign keys
  • foreign keys are not shown on ERD’s but implied by the cardinality of the relationships between the entities
  • during table mapping, foreign keys are made explicit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

key migration

A

rules for which primary key from one side of the relationship becomes a foreign key on the other side of the relationship based on the cardinality of the relationship

17
Q

mandatory-participation 1:1 relationship

A

there must be one record on each side of the relationship

18
Q

optional-participation 1:1 relationship

A

participation on one side of the relationship is optional

19
Q

primary key

A
  • uniquely identifies an instance
  • for every row, the value of the key must uniquely identify that row
  • the value must belong to one and only one row
20
Q

simple key

A

key contains a single attribute

21
Q

composite key

A

key that contains more than one attribute

22
Q

semantic/natural key

A

key for which the possible values have an obvious meaning to the user or the data

23
Q

artificial key

A

key for which the possible values have no obvious meaning to the user of the data

  • artificial keys are used instead of semantic keys if the value of a semantic key may change or if the use of existing semantic attributes can be used to guarantee uniqueness
  • to ensure a unique value for each record, an artificial key may be added as an attribute whose value is generated by the system