5. Databases Flashcards Preview

GCSE - Computing > 5. Databases > Flashcards

Flashcards in 5. Databases Deck (49)
Loading flashcards...
1

What is a database?

A persistent organised store of data.

2

Why is a database described as "persistent"?

• A database is a non-volatile store of data on a secondary storage medium such as a hard disk.
• This makes it different to an array.

3

What is data handling software used for?

Creating, maintaining and interrogating a database.

4

How can data handling software be created?

• Using an off-the-shelf product such as Microsoft Access
OR
• Creating the database itself in one of these products and then using a high level programming language to create a customised, form based, front-end application that does exactly what is needed

5

Why must a database by maintained?

Because the quality of information you get out is only as good as the information you put in (GIGO).

6

What is GIGO?

Garbage In, Garbage Out - The idea that the quality of information from a database is only as good as the quality you put in.

7

Revise the operations on a database.

Pg 66 of textbook -> Diagram

8

What is data duplication/redundancy?

Where the same data is stored more than once, unnecessarily.

9

What is data inconsistency?

Where different versions of the same data have different values because different versions have been stored and updated differently.

10

What is the important statement about keeping data in two different places?

Data duplication leads to data inconsistency.

11

What is the DBMS?

Database Management System - The system that separates the applications from the data and provides features that allow database systems to be created, interrogated and maintained.

12

What is the problem with different departments of a shop using the same database without a DBMS?

• Although the data is consistent, it introduces security issues and the applications are too closely linked to the data.
• This means that if one department changed something, it would affect the programs the other departments were using.
• Separation is needed.

13

What is used to separate programs from data?

A DBMS.

14

What is program-data independence?

Where the applications that use a shared database are separated from the actual data by a DBMS. Changes can be made to one application without it affecting another.

15

What are views of a database?

A feature of a DBMS that provides each application (e.g. the training department) or user with specific access, editing rights and view of the database.

16

What are some key features of a DBMS?

• Separation between applications and database
• Allows multiple applications to use a single database
• Manages multiple applications trying to edit the same record at the same time (usually makes it read only for the second application)
• Provides appropriate views of the database to different users
• Provides security in terms of views and access rights
• Enables creation of the relational database structure
• Allows applications to query/interrogate the database
• Creates reports based on queries
• Allows certain applications to edit and maintain database
• Automatic back-up

17

Give an example of a DBMS.

Microsoft Access

18

What is a flat file database?

A persistent organised store of data where data is stored in a single file organised into fields and records. (e.g. A spreadsheet)

19

What is a relational database?

A persistent organised store of data where data is stored as a collection of related tables to minimise data redundancy.

20

What is the problem with a flat file database?

It is easy to get data inconsistency.

21

What are the benefits of reducing data duplication?

• Reduces the risk of data inconsistency
• Makes maintaining the database much easier
• Reduces the size of the database

22

What is an entity?

A category of, for example, person, object or event about which data is stored in a database, and which corresponds to a table in the relational database. (e.g. Cars in a garage database)

23

What do we use to create links between tables in a database?

A DBMS.

24

What is a table?

A collection of data organised into records and fields within a relational database. A table represents a real world entity.

25

What is the relationship between entities and tables?

Each table is a representation of a real world entity.

26

What is a record?

A single entry into a database, containing all of the attributes of one instance of an entity. (i.e. A horizontal row)

27

What is a field?

A column in a database, representing one particular entity of an entry. (Basically, the headings at the top of the table)

28

What is the primary key?

A field in a table that uniquely identifies a record.

29

What is the foreign key?

A field in one table that is the primary key in another table and is used to create a relationship between those two tables.

30

What is important about the primary key?

Every record must have a different value in this field to make it unique.