Quiz 1 - Part 3 Flashcards

(49 cards)

1
Q

A table is perceived as a t….-d……. structure composed of r…. and c…..

A

two-dimensional / rows and columns

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

each table row (tuple) represents a single e…. o…… within the e…. s….

A

entity occurrence / entity set

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

Each table column rerpresent an a….., and each column has a distinct name

A

attribute

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

Each intersection of a r…. and a c……. represent a single d…. v…..

A

row and column / data value

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

All values in a column must conform to the same d…. f….

A

data format

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

Each column has a specific range of values known as the a…… d…….

A

attribute domain

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

the order of the rows and columns is i…… to the DBMS

A

IMMATERIAL

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

Each table must have an a….. or combination of a….. that u….. identifies each row

A

attribute / attributes / uniquely

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

Consist of one or more attributes that determines other attribute

A

Keys

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

Keys are used to ensure that each row in a table is u….. identifiable

A

uniquely

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

Keys are used to establish r….. among tables and to ensure i…. of the data

A

relationships / integrity

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

Attribute or combination of attributes that uniquely identifies any give row

A

Primary key

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

Value of one or more attributes determines the value of one or more other attributes

A

Functional dependence

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

Attribute whose value determines another

A

Determinant

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

Attribute whose value is determined by the other attribute

A

Dependent

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

Full f….. d….. is when Entire collection of attributes in the determinant is necessary for the relationship

A

functional dependence

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

Key that is composed of more than one attribute

A

Composite key

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

Attribute that is a part of a key

A

key attribute

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

Any key that uniquely identifies each row

A

superkey

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

A superkey without redundancies

A

candidate key

21
Q

Condition in which each row in the table has its own unique identity. All values in the PK must be unique. No nulls in the PK

A

entity integrity

22
Q

Every reference to an entity instance by another entity instance is valid

A

Referential integrity

23
Q

Not permitted in primary key, should be avoided in other attributes. can create problems when functions as average are used. can create logcal problems.

24
Q

C…… r……. makes the relational database work

A

controlled redundancy

25
R....... exists only when there is unnecessary duplication of attributes values
redundancy
26
An attribute whose values match primary key values in the related table
Foreign key
27
FK contains a value that refers to an existing valid tuple (row) in another relation
Referential integrity
28
Key used strictly for data retrieval purposes
Secondary key
29
for integrity rules requirement is that all .... keys entries are unique, and no nulls
primary keys
30
for integrity rules a ..... key may have either a null entry or a entry that matches the primary key value in a tabe to which it is related
foreign key
31
Special codes used to indicate the absence of some value
flags
32
Placed on a column to ensure that every row in the table has a value for that column
NOT NULL constrains
33
Restriction placed on a column to ensure that no duplicate values exist for that column
UNIQUE constraint
34
SELECT, PROJECT, UNION, INTERSECT , ETC ARE
Relational algebra operators
35
Only returns matched records from the tables that are being joined
Inner join
36
Yields all of the rows in the first table, including those that do not have a matching value in the second table
left outer join
37
Yields all of the rows in the second table, including those that do not have matching values in the first table
right outer join
38
Provides detailed description of all tables found within the user/designer-created database
Data dictionary
39
data dictionary contains m....
metadata
40
Detailed system data dictionary that describes all objects within the database
SYSTEM CATALOG
41
System catalog and data dictioanry are often used i......
interchangeably
42
Should be the norm in any relational database design
1:M relationship
43
Should be rare in any relational database design
1:1 relationship
44
Cannot be implemented as such in the relational model
M:N relationships
45
Helps avoid problems inherent to M:N relationships, includes the primary keys of tables to be linked
Composite entity (Bridge or associative entity)
46
Arrangement used to logically access rows in a table
index
47
index reference point. point to data location identified by the key
index key
48
index in which the index key can have only one pointer value associate with it
unique index
49
each index is associated with o..... o..... table
only one