Exam 1 Flashcards

(30 cards)

1
Q

define data independence, two reasons it is critical for application development?

A

the separation of the physical and logical views of the data

  1. data can be presented to the applications in any way
  2. changing the physical view doesn’t break everything above the logical view
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

will data integrity increase or decrease in a database versus a file env. and why

A

Data Integrity is INCREASED because the data is all in one place and to change the data you have to go to the location where it is found and change it. Then when someone else wishes to change the same data they do the same thing and see your changes

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

will hardware costs increase or decrease in a database compared to a file env. why?

A

Hardware Costs INCREASE because organizing all of the information takes a lot of physical space.

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

define metadata

A

data about the data

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

define ad hoc query

A

an “on the fly” query

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

define binding

A

mapping the logical to the physical view of the data

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

define domain

A

the sit of valid data for an attribute

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

explain an entity instance in the E-R model

A

a specific occurence of an entity class

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

explain an degree in the E-R model

A

the number of entities in a relationship

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

explain an minimum cardinality in the E-R model

A

the minimum number of instances in a relationship

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

explain an id-dependent weak entity in the E-R model

A

an entity that relies on another entity for its ID and existence in the database

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

explain an supertype in the E-R model

A

a parent entity

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

define, as related to normalization, functional dependency

A

given a value A you can look up or calculate exactly one value of B

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

define, as related to normalization, candidate key

A

the set of attributes that could be used as the primary key

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

define, as related to normalization, transitive dependency

A

a->b and b->c then a->c

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

define, as related to normalization, multidetermination

A

give a value A you can look up or calculate one or more values of B

17
Q

define, as related to normalization, multivalued dependency

A

a->->b and (a->->c or a->c), b and c are not related

18
Q

define 1NF

A

all relations

19
Q

define 2NF

A

1NF + all non-key attributes are dependent on all of the key

20
Q

define 3NF

A

2NF + no transitive dependencies

21
Q

define BCNF

A

3NF + every dterminate is a candidate key

22
Q

4NF

A

BCNF + no multivalued dependencies

23
Q

define DK/NF

A

all the constraints on the relatoin are a logical consequence of the definition of domains and keys

24
Q

the essence of DK/NF

A

“one theme per relation”

25
Define a BOMP relationship
A classic M:N recursive relationship
26
SQL-Server from Microsoft is generally considered to be the most capable DBMS system available.
FALSE
27
Normalization eliminates duplicated data
FALSE
28
Normalization is especially important for read-only databases
FALSE
29
The ER model was introduced by Peter Chen in 1986
FALSE
30
A recursive entity relationship may be 1:M or M:N but never 1:1
FALSE