Data Bases Flashcards

1
Q

Define data model

A

An abstract model of which things to
store and what information about them§
should be recorded

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

Define attribute

A

A characteristic of an entity

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

Name the three possible degrees of relationship
between tables in a database

A

One-to-one

One-to-many

Many-to-many

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

Define entity

A

A thing about which data is to be stored

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

What name is given to an attribute which can
uniquely identify each attribute in a table

A

Entity identifier / primary key

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

Why are databases normalised?

A

So that they can be at their most efficient
without any compromise to the integrity
of their data

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

What name is given to a primary key formed from
multiple different attributes?

A

Composite primary key

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

What name is given to the new table created when
forming a many-to-many relationship?

A

Link table

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

Which form of normalisation can be
described as follows:
All non-key attributes depend on the key, the
whole key and nothing but the key

A

3NF

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

Which declarative language is used to query
databases?

A

Server query language (SQL)

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

What is the role of a client server database?

A

To provide simultaneous access to a
database for multiple clients

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

What problem occurs when different users attempt to
access the same field in a client server database
simultaneously?

A

Concurrent access

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

In which form of normalisation are partial key
dependencies removed?

A

Second normal form (2NF)

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

Name three ways of managing concurrent access

A

Record locks
Serialisation
Timestamp ordering
Commitment ordering

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