Databases Flashcards

1
Q

What is a flat file database?

A

A flat file database is a simple database that stores all data in a single file or table. It contains related and unrelated data. A flat file database can be stored in a text, a spreadsheet or in a database file that contains one or more unrelated data.

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

What is meant by a relational database?

A

Groups of tables linked together by primary and foreign keys.

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

Describe the advantages of a relational database approach over a flat file approach?

A
  1. (Security) HIERARCHY OF PASSWORDS - limits users to various parts of the program for example a receptionist would only have access to basic computer details whilst the manager would see all information on the customer account.
  2. (Security) access rights to parts of the program only certain users can access and change data. For example, a clerk would see all the information on a customer account but be unable to alter the hire rate details whilst a manager could.
  3. CONSISTENCY - Data consistency is the relationship between the input data, the processed data and the output data as well as other related data.
  4. Redundancy -data redundancy is where you store and item of data more than once.
  5. Independence - Data independence - The data and the applications/programs used to access it are independent/separate.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is normalisation?

A

Normalisation is the process undertaken to ensure that a database has no redundant or inconsistent data.

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

Definition of a database

A

A database is an organised collection of related data.

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

What is definition of data consistency?

A

Data consistency is where the same data has exactly the same value and formatting throughout.

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

What is the definition of data redundancy?

A

Data redundancy is where you store an item of data more than once.

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

What is the definition of data integrity?

A

Data integrity is the correctness of the data. Truthful, accuracy.

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

What is the definition of data independence?

A

Date independence is the data and applications/programs used to access it are independent/separate.

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

What is a data warehouse and give an example of how a company might use it?

A

Data warehouse is a large collection of archived data used for decision-making. Example includes-allows the company to store information about every sale and allows the company to use data mining.

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

Explain what is meant by data mining and give a detailed example of how a company might use it?

A

Data mining is interrogating the data to find patterns in the data which is stored in the warehouse. For example comparisons with competitors, predictions for future sales and analysing buying patterns.

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

What is the definition of data normalisation?

A

Data normalisation is the staged (mathematical) process of removing repeated groups of data and inconsistencies.

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

Two reasons why relational database is more secure than the flatfile approach?

A

They allow hierarchy of the passwords and access rights to certain part of the systems.

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

Define what is meant by distributed database ?

A

Distributed databases is when data is stored in number of computers located in different locations however is shown as one logical database.

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