03a - Basic Database Concepts Flashcards

1
Q

Define a database.

A

Database is a large collection of data items and links between them. Structured in a way that allows it to be accessed by a number of different application programs.

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

Examples of databases that store information about people.

A

Bank, school, business, airlines

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

Define a table.

A

A flat file where data is organised into rows and columns.

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

Define a record.

A

A collection of data items which may be of different data types, all relating to the individual/object that the record describes. Represented by rows in tables.

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

Define a field.

A

A part of a record designed to hold a single data item of a specified data type. Represented by columns in a table.

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

Define a primary key.

A

A key that uniquely identifies an individual record in a table.

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

How does a primary key become a foreign key?

A

When the primary key from one table appears as a field in a second table. The primary key is known as a Foreign key and forms a relationship between the tables.

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

What is a composite key?

A

A key that consists of two or more fields.

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