Ch 10 Flashcards

1
Q

What is a relational schema?

A

The computer’s view of the data

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

In a relational data model, what corresponds with column headings, data in columns, and rows?

A

attributes, attribute values, and entities

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

Every relation schema requires at least one key for the relation. – if true, relation exhibits what?

A

entity integrity

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

What is a dashed circle attribute?

A

derived attribute

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

For strong entity classes, what is the key of the it’s relational schema?

A

the primary key of the entity class

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

What is a double circled attribute?

A

multivalued attribute

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

For weak entity classes, what is the key of relation schema if

1: 1?
1: M?

A
key of owner class
key of owner class + discriminator
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

For 1:1 relationship types, which class should be the recipient vs donor of foreign key?

A

the class with mandatory participation is the recipient

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

Why is it a bad idea to combine two tables into one?

A

nulls may result and artificial entity means a loss of meaning and clarity

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

What is a Data Dictionary?

A

single document which specifies relational schema plus all additional information

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

What are the 3 goals in developing a relational schema?

A

1) each attribute and schema has a simple meaning
2) null values are minimized
3) controlled redundancy

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

What is anomalous behavior?

A

change to one row of table cause problems somewhere else (where info should be the same)

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

What is functional dependency?

A

a strong connection between two or more attributes in a table

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

What are types of 1:1 relationships

A
"Is A" 
"Scare Resource Allocation"
"Boss"
"Marriage"
"Matching reservations"
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what steps are involved in initially creating a database?

A

Data Dictionary and relational schema diagram (normalized)

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

What’s another name for entity integrity?

A

referential integrity. It ensures that you are creating a relationship between two entities

17
Q

What is the first table to populate in a database?

A

the table with no foreign keys

18
Q

when is it advantageous to split database?

A

when there are multiple users so each can have separate front end to access same data and when data from other databases needed as linked tables can come from any database.

19
Q

What are the different query operations?

A

project - take one or more columns of original table
select - take one or more rows of original table
join - combine all columns of input tables (tables must have one field in common, directly related)
set - rows come from one or other of input tables

20
Q

What is it called to join operations via a single table?

A

self join

21
Q

What does a form allow you to do?

A

view one record at a time and mix and match fields from tables and queries so that you can enter/update dat