Flash Cards

Study for final exam

1
Q

A process of transforming conceptual data model into logical data model such as relational data model

A

Logical Database Design.

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

Most commonly used in modern Database applications

A

Relational Data model ( or relational model)

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

Data are organized in the form of table with rows and columns

A

Data structure

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

Operation are made using SQL to manipulate data stored in the relations

A

Data manipulation

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

Facilities are included to specify business rules that maintain the integrity of data when they are manipulated.

A

Data integrity

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

A named, two dimensional table of data.

A

Relation

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

Consists of a set of named columns and an arbitrary number of unnamed rows.

A

Relation (or table)

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

Becomes a relation name

A

Entity type

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

Named column of a relation.

A

Attribute

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

Each ___ of a relation corresponds to a record that contains ____ values for a single ____.

A

Row(Tuple), data(attribute), entity(instance)

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

An attribute or combination of attributes that uniquely identifies each row in a relation
EMPLOYEE1(*Emp_ID,Name,Dept_Name,Salary)

A

Primary Key

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

A primary key that consists of more than one attribute

A

Composite Key

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

An attribute in a relation of a database that serves as the primary key of another relation in the same database
E.g. DEPARTMENT(Dept_name, Location,Tel_no)
EMPLOYEE1(
Emp_ID, Name, ^Dept_Name,Salary)

A

Foreign Key

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

Not all tables are relations

A

True

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

each relation has a unique name

A

true

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

The value at the intersection of each row and column is atomic. No multivalued attributes are allowed.

A

True

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

Each row is unique. No two identical rows in a relation.

A

True

18
Q

Each attribute or column within a table has a unique name.

A

True

19
Q

The sequence of columns is insignificant

A

True

20
Q

The sequence of rows is insignificant

A

True

21
Q

Consists of any number of relations

A

Relational Database

22
Q

a description of the overall logical structure of the database

A

Schema

23
Q

Two common methods for expressing a schema

A

Short text statements, a graphical representation

24
Q

Includes several types of constraints to maintain the accuracy and integrity of data in the database

A

Relational Data Model

25
Q

Domain Constraints, Entity Integrity, Referential Integrity

A

Major Integrity Constraints

26
Q

All the values that appear in a column of a relation must be taken from the same domain

A

Domain Constraints

27
Q

The set of values that may be assigned to an attribute

A

Domain

28
Q

Domain name, meaning, data type, size or length, allowable values or allowable range

A

Domain definition

29
Q

No Primary Key attribute (or component of a primary key attribute) can be null. It guarantees that every primary key attribute non- null.

A

Entity Integrity

30
Q

assures that every relation has a primary key and that the data values for that primary key are all valid

A

Entity integrity rule

31
Q

A value that may be assigned to an attributes when no other value applies or when the applicable value is unknown

A

Null

32
Q

A rule that states that either each foreign key value must match a primary key value in another relation or the foreign key value must be null

A

Referential Integrity

33
Q

In relational data models, associations between tables are defined through the use of ____

A

foreign keys

34
Q

If the relationship is optional, then the foreign key could be null

A

True

35
Q

Whether a foreign key can be null must be specified as a property of the foreign key attribute when the database is defined

A

True

36
Q

A foreign key name must be the same as primary key name.

A

False - a foreign key name could be different from primary key name.

37
Q

The foreign and primary keys can be from different domains.

A

False - The foreign and primary keys must be from the same domain.

38
Q

A relation that contains minimal redundancy and allows users to insert, modify, and delete the rows in a table without anomalies

A

Well-structured Relation

39
Q

An error or inconsistency that may result when a user attempts to update a table that contains redundant data.

A

Anomaly

40
Q

Three types of anomalies

A

Insertion, deletion, modification anomaly