10 Fundamentals Of Databases Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Data model

A

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

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

Entity

A

An object that has data stored about it

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

Attributes

A

Characteristics or other information about entities

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

Entity identifier

A

An attribute given to each entity which is unique within that table

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

Composite key

A

Multiple attributes which are combined to form the tables entity identifier

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

Entity description

A

Describes how information is stored in a table in the database

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

Give the general set up of an entity description

A

TableName (column1PrimaryKey , column2, …)

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

Three types of relationship

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
9
Q

Entity relationship diagrams

A

Graphically represents the relationships between tables in a database

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

Primary key

A

An attribute that provides a unique identifier for every entity in a database table

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

Foreign key

A

A primary key that is an attribute in another table

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

Why are databases normalised

A

Allows them to be efficient without compromising the integrity of the data
Allows faster sorting and seaching

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

First normal form

A

No repeating attributes
Atomic - no single column contains more that one value

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

Second normal form

A

Satisfies the first normal form
Partial key dependencies are removed (no composite keys)

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

Third normal form

A

Satisfies the second normal form
No non key dependencies (attributes should only depend on the primary key)

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

Client server database

A

Provides simultaneous access to a database

17
Q

Concurrent access

A

Different users attempt to access the same field at the same time

18
Q

Record locks

A

When a record is accessed by a user it is immediately locked to others until the user is finished

19
Q

Serialisation

A

Requests from users are placed in a queue

20
Q

Timestamp ordering

A

Each command is assigned a timestamp and carried out in this order

21
Q

Commitment ordering

A

An algorithm works out an optimum order in which to execute commands