Topic 10 - Fundamentals of databases - Complete Flashcards

1
Q

Define database?

A

Is a persistent organised store of data that is used on a computer system

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

Define flat-file database?

A

Can be created in a word processor or spreadsheet
Is composed of 1 file or table.
Each row is a record, each column is a field.

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

Define relational database?

A

Is where data is contained in more than one table. Tables are then joined by linking a primary key in one table to a foreign key in another table.

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

Define primary key?

A

Is a unique identifier such as a code number that can be used to identify each record in a database table.

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

Define foreign key

A

Is a field in a table which can be linked to a primary key of another table.

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

Define composite key?

A

Is used in a table where two columns are used to form a combined key field. Both columns combined make a unique reference.

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

Define entity?

A

Is an object that we store data about, such as a customer or a product. It becomes a table in a database.

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

Define attributes?

A

Are the details about an entity.

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

Define data redundancy?

A

Linking data tables can reduce the duplication of data.

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

Define normalisation in a database?

A

Is the formal process involved in the design of an efficient database, this is a multi-staged process where tables are created to cause a reduction in the data dependency

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

Define the first, second and third normal form?

A

Is where the tables contain NO:
1st - repeating attributes or groups of attributes.
2nd - partial key dependencies.
3rd - non-key dependencies.

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

Define client-server databases model?

A

User’s who accesses the database from one of many workstations on the network.

The database installed and maintained on a server and the client is a user on a workstation.

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

Define DBMS (Database management system)?

A

Is a software application designed to:

  • Interact with database users
  • Capture, extract and analyse the data
  • Interact with other software applications.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Define tables in DBMS?

A

Are used to store data which can be captured by a data entry form.

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

Define queries in DBMS?

A

Used to retrieve specific data from a table, where this data is stored in more than one table a complex query will process the data into a single datasheet.

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

Define reports in DBMS?

A

Used to summarise and present the data that is in tables, a report is usually required for a specific issue.

17
Q

Define DBMS and administration?

A

DBMS software is used by the database administrator to maintain the system.

  • Provides for a centralised automatic backup of the system.
  • Assign different types of database user with associated access rights.
  • Provide login and password facilities for users.
  • Update of DBMS programs and development of associated software tools.
18
Q

Define program-data independence?

A

In a DBMS the data is separated from the applications that access it, so programs work independently of the data.

19
Q

Define record locking in client-server databases?

A

A record is locked when it is being accessed by a user with write access, this prevents additional users from editing and saving the record until the original user has completed their database transaction.

20
Q

Define serialisation in client-server databases?

A

This technique only permits one transaction at a time to take place when multiple users are updating a database.

21
Q

Define timestamp ordering in client-server databases?

A

Timestamps the start time of each database transaction that takes place based on the system clock. The oldest timestamp transaction takes priority and is executed first where multiple transactions take place on the same record.

22
Q

Define commitment ordering in client-server databases?

A

The order of operation of concurrent transactions is based on the timestamp and the precedence of the particular command requested.