Databases Flashcards

1
Q

What is a database?

A

A persistent organised store of related data on a computer system.

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

In terms of databases, what is meant by the term persistent/

A

It is stored in secondary storage so that it can be accessed later.

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

Why is a database organised?

A

So that data can be easily processed/queried.

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

What are databases handled by?

A

Software called a DBMS.

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

What does DBMS stand for?

A

Database management system.

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

What must a database be able to do?

A

Create,Retrieve(Read), Update, Delete.

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

What two things does the DBMS do to ensure data integrity?

A

Validation and Validation.

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

What happens if data is entered incorrectly?

A

Integrity is lost.

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

What is validation?

A

Check g to see if data is correct when it is first input.

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

What validation could be used for an email address?

A

Checking for an @ symbol and a .co.uk/.com etc at the end.

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

What is validation handled by?

A

The DBMS.

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

What does the DBMS provide? (6)

A

Access to the database through different applications.
Control of the data. - security features to limit what people can do.
Backup and the ability to restore from backup in the event of a disaster.
Force referential integrity.
It controls concurrency.
Supports different query languages.

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

What is referential integrity?

A

A concept of relational databases which states that the table relationships must always be consistent.

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

What is concurrency?

A

Locking the database so only one user can edit the data.

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

What is a table also known as?

A

An entity.

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

What is a record?

A

A row in a database.

17
Q

What is a field?

A

A column in a database.

18
Q

What is a primary key?

A

The attribute that is unique to each record.

19
Q

What is a foreign key?

A

The primary key that links two entities.

20
Q

What are the two types of databases?

A

Flat file and Relational

21
Q

What type of database signs primary and foreign keys?

A

Relational databases.

22
Q

What is data redundancy?

A

Data that is needlessly repeated.

23
Q

What can data redundancy lead to?

A

Complex programming problems.

24
Q

What is a module?

A

A specific piece of software used to carry out a task.

25
Q

What is a form?

A

A user friendly way to enter data into a database, it can involved buttons, tick boxes and menus.

26
Q

What is a report?

A

A way of presenting data up its information cannot not be changed.

27
Q

What is a graph?

A

A visual representation of data that can be used for comparisons.

28
Q

What are the features of relational databases?

A

Stores data in tables.
Each data is about an entity.
The columns are called attributes, a single column is called a field.
Each recorded must have a primary key to make it uniquely identifiable.

29
Q

Explain what a relational database is. [3 Marks]

A

A relational database is a database that consist of multiple tables that are linked together by primary and foreign keys so that data can be extracted easily and there is no data redundancy.

30
Q

What is a query used for?

A

Extracting a subset of data from a database using conditions.

31
Q

What are the two operators used in querying?

A

AND

OR