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.

18
Q

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

19
Q

The sequence of columns is insignificant

20
Q

The sequence of rows is insignificant

21
Q

Consists of any number of relations

A

Relational Database

22
Q

a description of the overall logical structure of the database

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
Domain Constraints, Entity Integrity, Referential Integrity
Major Integrity Constraints
26
All the values that appear in a column of a relation must be taken from the same domain
Domain Constraints
27
The set of values that may be assigned to an attribute
Domain
28
Domain name, meaning, data type, size or length, allowable values or allowable range
Domain definition
29
No Primary Key attribute (or component of a primary key attribute) can be null. It guarantees that every primary key attribute non- null.
Entity Integrity
30
assures that every relation has a primary key and that the data values for that primary key are all valid
Entity integrity rule
31
A value that may be assigned to an attributes when no other value applies or when the applicable value is unknown
Null
32
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
Referential Integrity
33
In relational data models, associations between tables are defined through the use of ____
foreign keys
34
If the relationship is optional, then the foreign key could be null
True
35
Whether a foreign key can be null must be specified as a property of the foreign key attribute when the database is defined
True
36
A foreign key name must be the same as primary key name.
False - a foreign key name could be different from primary key name.
37
The foreign and primary keys can be from different domains.
False - The foreign and primary keys must be from the same domain.
38
A relation that contains minimal redundancy and allows users to insert, modify, and delete the rows in a table without anomalies
Well-structured Relation
39
An error or inconsistency that may result when a user attempts to update a table that contains redundant data.
Anomaly
40
Three types of anomalies
Insertion, deletion, modification anomaly