ch8 Flashcards

1
Q

database

A

a structure collection of items of data that can be accessed by application programs

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

relational database

A

database where the data are linked together by an internal pointer

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

table

A

a group of similar data in a database with rows for each instance of an entity and columns for each attribute

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

candidate key

A

set of attribute where no tulip has the same value

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

primary key

A

a unique identifier for a table and its a special case of candidate key

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

secondary key

A

a set of attributes that is alternative to a primary key

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

foreign key

A

a key in one table that refers to the primary key of another table

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

referential integrity

A

a property of a database that does not contain any values of a foreign key that does not correspond to its matched primary key// data quality concept that ensures that when you make changes to data in one place, those changes are reflected in other related records

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

index

A

a data structure built from one or more columns in a database table to speed up searching for data

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

normalisation

A

process of organizing data in database into two or more tables and the relationship between them to minimise redundancy

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

1NF

A

the status in of a relational database where entities do not contain repeated groups of attribute

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

2NF

A

the status of a relational database in which entities are in 1NF and any non key attributes depend on the primary key

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

3NF

A

the status of a relational database in which entities are in 2NF and all non-key attributes are independent

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

composite key

A

a set of attributes that form a primary key to provide a unique identifier for a table

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

Database management system

A

systems software for the definition, creation and and manipulation of database

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

data dictionary

A

a set of data that contains metadata for a database

17
Q

data modelling

A

the analysis and definition of the data structures required in a database and to produce a data model

18
Q

logical schema

A

a model of a database that is not specific to one DBMS

19
Q

developer interface

A

a software tool that allows the user to create items such as tables, forms and reports

20
Q

query processor

A

software that allows user to enter a criteria then find and return the appropriate result

21
Q

data definition language

A

to create, modify, and remove data structure that makes a relational database

22
Q

data manipulation language

A

to add, modify and delete data stored in relational database

23
Q

characteristic s of database in 3NF

A

no repeating groups of attributes
no partial dependencies
no non-key dependencies

24
Q

how access rights can be used to protect

A

1- access rights gives manager access to different elements by having different accounts
2- specific views can be assigned to managers

25
Q

why relational database is better than file based approach

A

1- reduces data redundancy: . because linked tables mean that each data item is stored only once
2- reduces data dependency: because the data is separate from the software so changes to the data do not require programs to be re-written
3- reduces data inconsistency: changes in one table will automatically update in another
4- Complex queries are easier to run: can provide different views, so user can only see specific aspect of the database

26
Q
A