database design and development Flashcards

1
Q

relational database

A

A database containing several tables, linked using primary and foreign keys

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

primary key?

A

A field in a table that contains values used to uniquely identify each record in the table

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

foreign key?

A

A unique primary key in one table that is used as link to a field in another table

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

definition of a ‘flat file database’?

A

A flat file database holds all data on only one table.

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

problems with flat file databases?

A

the one table often leads to the presence of insert, update and deletion anomalies.

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

The ‘text’ field type can be used to store what

A

Any combination of characters including punctuation marks, letters, symbols and numbers

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

The ‘Boolean’ field type can be used to store which of the following?

A

True/False
yes/no

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

The ‘number’ field type can be used to store which of the following?

A

Any numeric value

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

Altering the format to display data using the 24-hour clock would apply to which of the following field types?

A

Time

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

what is an insert anomaly?

A

When a table only permits new data in all fields

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

delete anomaly?

A

When a table only permits deleting data across a whole field

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

what are all the possible field types

A

text, number, date, boolean, time

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