Databae Systems Flashcards

1
Q

What is a database?

A

A collection of data items and links between them, structured in a way that allows it to be accessed.

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

What is an entity?

A

A person, place or thing about which data can be collected

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

What is a record?

A

Is all the data about one thing made up of fields

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

What is an attribute?

A

Describes the characteristics of an object

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

What is a primary key?

A

A filed within a database which enables every record to be uniquely indenifited

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

What is a forgien key?

A

A key field in a different table that is used to link tables together

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

What is a composite key?

A

Consists of more than one attribute to uniquely identify an entity

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

What is referential integrity?

A

Ensures that the data in one table does not contradict the data in another table

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

What is a flat file database?

A

A simple database that stores all data in a single table. Useful for simple lists. Difficult to update, reduced data integrity

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

What is a relational database?

A

A more complex database that allows data to be stored across a number of tables. The tables are linked using relationships. Allows data to be retrieved from a number of tables using queries. It has improved data consistency, better security and reduce redundancy

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

What is data redundancy?

A

Storing data multiple times in multiple locations

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

What is data inconsistency?

A

Condtradictory data about an entity being held in a different location.

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

What is data integrity?

A

The accuracy and correctness of data.

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

What is a logical data model?

A

Produced during the design stage and is independent of database softwares. Identifies the entities and relationships between them.

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

What is a physical data model?

A

Produced during the implementation stage and defines the physical structure of the database. Creates the table structures and the keys for each table with validation rules

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

What is the purpose of normalisation?

A

To reduce data redundancy which will ensure that the data model is more efficient and will take up less storage space.

17
Q

What is a data dictionary?

A

A file containing descriptions of the structure of data stored. Contains filed names, filed size, default values and table names.

18
Q

What is an ER diagram?

A

A graphical representation and is a logical part of the data model. It identifies the entities, the relationships and the attributes for each entity.

19
Q

Compare and contrast er and normalisation

A

-both uses at the design stage
-both identify entities and relationships
-normalisation follows a set of decomposition rules and er modelling is a graphical approach