CH 3 Final Flashcards

1
Q

Different ways to store data:

A

falt files and databases

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

flat files:

A

data is stored in one giant table. typically different functions have separate flat files that do not link to each other.

ex. excel

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

databases

A

data is shared between functions.

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

three types of databases:

A

hierarchical, networks and relational

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

Three anomalies:

A

insert, delete, update

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

data modeling:

A

process of defining a database so that it faithfully represents all aspects of the organization. the end result is a third normal form (3NF) database

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

databases are comprised of the following:

A

entities, attributes, records

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

entities

A

anything about which the organization wishes to store data.

i.e. employees, sales, payroll

entity info is stored in a table.

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

attributes

A

aka fields.
what you want to know about the entity.

columns in a table.
birthday of employee or SSN

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

records:

A

the individual instances in a table. stored in rows.

record = row

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

record keys:

A

primary keys and foreign keys

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

primary key:

A

i.e. customer #, invoice #, employee #, CWID

Primary key must be unique

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

foreign keys:

A

used to link tables.

primary keys from other tables.

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

REA meaning:

A

resource, event, agent.

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

resources:

A

things of value an organization acquires and uses (e.g. cash, inventory, equipment)

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

events:

A

business activities (e.g. sales order, sales event)

17
Q

agents:

A

people and organizations (e.g. employees, customers, vendors)

18
Q

when creating an ERD you should do what?

A

identify the events.
identify the resources and agents.
determine the linkages between entities.
determine the cardinalities.

19
Q

o

|

A

zero
one
many

20
Q

one to one is labeled as

A

1:1

21
Q

one to many is labels as

A

1:N

22
Q

Many to many is labeled as

A

M:N

23
Q

When designing a database you should?

A
  1. create a table for each entity and for each many to many relationship.
  2. identify attributes, including primary keys.
  3. Assign foreign keys for each relationship that is not many to many.
24
Q

when assigning foreign keys, remember

A

many to many relationships have no foreign keys.

for one to one and one to many relationships, put the foreign key where it will always be single-valued.

25
Q

database administrator:

A

person responsible for maintaining the database.

26
Q

data dictionary

A

describes each field in the database.

27
Q

data integrity controls:

A

ensure accuracy of data

28
Q

types of integrity data controls:

A

transaction controls and concurrency controls

29
Q

transaction controls:

A

type of data integrity control that ensures transactions are performed accurately

30
Q

concurrency controls:

A

type of data integrity controls that prevent simultaneous access to a table by multiple users and ensure that transactions are performed sequentially.