Chapter 3. The Relational Database Model Flashcards

1
Q

It enables you to view data logically rather than physically

A

Relational Model

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

Characteristics of a Relational Model

A
  1. A table is perceived as a two-dimensional structure composed of rows and columns.
  2. Each table row (tuple) represents a single entity occurrence within the entity set.
  3. Each table column represents an attribute, and each column has a distinct name.
  4. Each intersection of a row and column represents a single data value.
  5. All values in a column must conform to the same data format.
  6. Each column has a specific range of values known as the attribute domain.
  7. The order of the rows and columns is immaterial to the DBMS.
  8. Each table must have an attribute or combination of attributes that uniquely
    identifies each row.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

One or more attributes that determine other attributes.

A

Key

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

Subject Code, Student number, Philippine national id number are examples of?

A

Key

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

The role of a key. In the context of a database table, the statement “A determines B” indicates that knowing the value of attribute A means that the value of attribute B can be looked up.

A

Determination

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

Within a relation R, an attribute B is ___ dependent on an attribute A if and only if a given value of attribute A determines exactly one value of attribute B.

A

Functionally/Functionally Dependent

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

Any attribute in a specific row whose value directly determines other values in that row

A

Determinant

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

Any attribute in a specific row whose value directly determines other values in that row

A

Determinant

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

An attribute whose value is determined by another attribute.

A

Dependent

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

A condition in which an attribute is functionally dependent on a composite key but not on any subset of the key.

A

Full Functional Dependence

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

In the relational model, an identifier composed of one or more attributes that uniquely identifies a row.

A

Primary Key

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

A multiple-attribute key

A

Composite Key

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

An attribute that is part of a primary key.

A

Key Attribute

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

An attribute or attributes that uniquely identify each entity in a table

A

Super Key

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

A minimal superkey; that is, a key that does not contain a subset of attributes that is itself a superkey.

A

Candidate Key

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

Types of Keys

A
  • Primary Key
  • Composite Key
  • Super Key
  • Attribute Key
  • Foreign Key
  • Secondary Key
17
Q

The property of a relational table that guarantees each entity has a unique value in a primary key and that the key has no null values.

A

Entity Integrity

18
Q

The absence of an attribute value.

A

Null

19
Q

A null is not a blank.

A

True

20
Q

An attribute or attributes in one table whose values must match the primary key in another table or whose values must be null.

A

Foreign Key

21
Q

A condition by which a dependent table’s foreign key must have either a null entry or a matching entry in the related table.

A

Referential Integrity

22
Q

An attribute or combination of attributes that uniquely identifies each row in a table

A

Primary Key

23
Q

A minimal (irreducible) superkey; a superkey that does not contain a subset of attributes that itself is a super key

A

Candidate Key

24
Q

A candidate key selected to uniquely identify all other attributes that itself is a super key

A

Primary Key

25
Q

A candidate key selected to uniquely identify all other attributes that itself is a super key

A

Primary Key