Databases Flashcards

1
Q

A database consists of three parts, what are they?

A

 File
records
fields.

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

What is a database file

A

 A database file stores all of the information on a particular subject. It is made up of records

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

What is a database record?

A

 A record stores all the information about one person/thing. It usually consists of several different fields.

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

What is a data base field?

A

 A field stores one piece of information such as: Forename, Surname, Address

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

What is a flat file database?

A
  • Flat file databases consist of one table. As a result, a large database will most likely have data which is repeated
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a linked database?

A

Separating the data into different tables makes it easier to manage. Two or more tables can be linked together. This prevents having to enter data more than once, having to update the same information many times, and possibly accidentally deleting data.

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

What is a primary key?

A

a field used to uniquely identify every record in the database.

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

What is a foreign key?

A

a primary key from one table that appears in another table to link the two together.

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

What are four types of validation check?

A

Presence
Restricted Choice
Field length
Range check

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

Presence check

A

A presence check makes the person using the database enter something in this field. It can’t be blank

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

Restricted Choice check

A

Restricted choice cuts down on mistakes by only letting you select an option from a menu or list i.e. a dropdown box for months.

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

Field Length check

A

Field length restricts the number of characters typed.

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

Range check

A

A range check makes sure data entered is within certain limits. >

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

Advantages of Searching and Sorting

A

Easy to add new information – a search tries to find matches for whatever you search for.

Easy to sort information – a sort orders the data on a field which you choose. You can sort in ascending order or descending order.

Easy to search through millions of records to find one specific match.

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

Complex search

A

 A complex search is a search, or even a sort, which takes place in more than one field (ie two or more fields) – sometimes many details are entered in a search

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