8.1 Database concepts Flashcards

1
Q

Database

A

a structured collection of items of data that can be assessed by different application programs

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

Relational database

A

a database where the data items are linked by internal pointers

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

Table

A

a group of similar data, in a database, with rows for each instance of an entity and columns for each attribute

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

Record (database)

A

a row in a table in a database

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

Field

A

a column in a table in a database

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

Tuple

A

one instance of an entity, which is represented by a row in the table

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

Entity

A

anything that can have data stored about it

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

Attribute (database)

A

an individual data item stored for an entity

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

Candidate key

A

an attribute or smallest set of attributes in a table where no tuple has the same value

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

Primary key

A

a unique identifier for a table, aka a special case of a candidate key

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

Secondary key

A

a candidate key that is an alternative to the primary key

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

Foreign key

A

a set of attributes in one table that refer to the primary key in another table

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

Relationship

A

situation in which one table in a database has a foreign key that refers to a primary key in another table in the database

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

Referential integrity

A

property if a database that does not contain any values of a foreign key that are not matched to the corresponding primary key

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

Index (database)

A

a data structure built from one or more columns in a database table to speed up searching for data

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

Entity-relationship (E-R) model or E-R diagram

A

a graphical representation of a database and the relationships between the entities

17
Q

Normalisation (database)

A

the process of organising data to be stored in a database into two or more tables and relationships between tables, so that data redundancy is minimised

18
Q

First normal form (1NF)

A

the status of a relational database in which entities do not contained repeated groups of attributes

19
Q

Second normal form (2NF)

A

the status of a relational database in which entities are in 1NF and any non-key attributes depend upon the primary key

20
Q

Third normal form (3NF)

A

the status of a relational database in which entities are in 2NF and all non-key attributes are independent

21
Q

Composite key

A

a set of attributes that form a primary key to provide a unique identifier for a table