Databases Flashcards

1
Q

Entity

A

a category of objects, person or thing of interest of which data needs to be recorded

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

Field

A

give category headings for each item of data in a database (e.g. Time, Date, Right Ascension, etc.) - also known as attributes

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

Record

A

a collection of data for one object/person/thing - shown as a single row in a table

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

Table

A

made up of records and fields and is a collection of related data

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

Primary key

A

field(s) in a database table that act as a unique identifier for each record

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

Composite primary key

A

includes two or more attributes to uniquely define a record

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

Foreign key

A

an attribute that creates a connection between two tables

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

Relational Database Management System (RDBMS)

A

provides an interface between users and applications and the database

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

Flat file

A

type of database that stores data in a plain text format

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

Normalisation

A

process used to create the best possible design for a database

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

First normal form

A

contains no repeating attributes/group of attributes

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

Second normal form

A

a table is in 2NF if it’s in 1NF AND contains no partial-key dependencies

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

Third normal form

A

a table is in 3NF if it’s in 2NF AND contains no non-key dependencies

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

Partial key dependency

A

occurs when one primary key determines some other attribute(s)

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

Referential integrity

A

refers to the accuracy and consistency of data within a relationship

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

Client-server database

A

when a database resides on a server and client applications are written to access the database

17
Q

Record locking

A

prevents simultaneous access to objects in a database to prevent updates being lost or inconsistencies in the data from occuring

18
Q

Serialisation

A

technique used to ensure that transactions don’t overlap in time

19
Q

Timestamp ordering

A

each object in database has a read timestamp and write timestamp - updated whenever an object is read or written

20
Q

Commitment ordering

A

another serialisation technique that ensures no transactions are lost if two clients are trying to update a record simultaneously