CS401A's Midterms: Info Management Module 03 Flashcards

For midterms exams.

1
Q

Fundamentals

introduced by E. F. Codd in 1970,

A
  • The relational model,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Fundamentals

is based on predicate logic and set theory.

A
  • The relational model,
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

relational model

is used extensively in mathematics to provide a framework in which an assertion can be verified as either true or false.

(statement of fact)

A

Predicate logic

Example: A student with a student ID of 324452 is named Mark Reyes.

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

relational model

is a part of mathematical science that deals with sets, or groups of things, and is used as the basis for data manipulation in the relational model.

A

Set theory

Example: Set A contains 15, 23, and 52 while Set B contains 41, 52, 70, 12. It can be concluded that the A and B share a common value, 52.

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

relational model

  • The relational model has three (3) components:
A
  1. A logical data structure represented by relations
  2. A set of integrity rules to enforce that the data is consistent and remains consistent over time
  3. A set of operations that defines how data is manipulated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

relational model

is as a two-dimensional structure composed of rows and columns.

A
  • A table (relation)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

relational model

represents data about an entity.

A
  • Each table row (tuple)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

relational model

  • Each table column represents
A

an attribute,

and each column has a distinct name.

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

relational model

  • Each represents a single data value.
A

intersection of a row and column

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

relational model

Each column has a specific range of values known as

A

the attribute domain.

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

TRUE || FALSE

The order of the rows and columns is important in a DBMS.

A

FALSE

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

is an attribute or group of attributes that determines the values of other attributes.

A

A key

For example, an invoice number identifies all of the invoice attributes, such as the invoice date and the customer name.

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

Keys

is the state in which knowing the value of an attribute makes it possible to determine the value of another.

A

Determination

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

Keys

It is based on the relationships among the attributes.

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

Keys

means that the 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
16
Q

Keys

The attribute whose value determines another is called

A

the determinant or the key.

17
Q

Keys

The attribute whose value is determined by the other attribute is called the

A

dependent.

18
Q
  • Data can be manipulated to generate useful information.
A

Relational Algebra

19
Q

is a set of mathematical principles that form the basis for manipulating relational table contents.

A
  • Relational algebra
20
Q
  • The use of relational algebra operators on existing relations (tables) produces new relations is called
21
Q
  • The condition to be evaluated is also known as
A

predicate.

22
Q
  • The eight (8) fundamental relational operators are:
A

SELECT
PROJECT
UNION
INTERSECT
DIFFERENCE
PRODUCT
JOIN
DIVIDE

23
Q

Retrieves a subset of rows

24
Q

Symbol

σ

A

SELECT

Operator

25
Q

Retrieves a subset of columns

26
Q

Symbol

π

27
Q

Merges two union-compatible tables into a new table, dropping the duplicate rows

28
Q

Symbol

29
Q

Retrieves rows that are common to two union-compatible tables

30
Q

Symbol

31
Q

Retrieves rows from one table that are not found in another union-compatible table

A

DIFFERENCE

32
Q

Symbol

-

A

DIFFERENCE

33
Q

Retrieves possible pairs of rows from two tables

A

PRODUCT

(Cartesian Product)

34
Q

Symbol

x

35
Q

Retrieves rows from two tables based on criteria

(Ex. Rows with common values in their common attributes)

36
Q

Symbol

37
Q

Retrieves values

38
Q

Symbol

÷