Chapter 8 - Databases Flashcards

1
Q

Data base

A

Structured collection of items of data that can be accessed by different applications 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

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

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

Column 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 a 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, eg. A person, place, event, thing

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

Attribute

A

An individual data item stored for an entity eg. Person attributes could be name, address etc

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

Unique identifier for a table. Special case for a candidate key

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

Secondary key

A

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

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 of 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

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

E-R model/diagram

A

Entity - Relationship
Graphical representation of a database and the relationship between the entities

17
Q

Normalisation

A

Process of organising data to be stored in a database into two or more

18
Q

Rules for normalisation (3)

A

1NF
2NF
3NF

19
Q

Normalisation

A

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

20
Q

1NF

A

First Normal Form

Entities do not contain repeated groups of attributes

21
Q

2NF

A

Entities are in 1NF and any non-key attributes depend on the primary key. There are no partial dependencies

22
Q

3NF

A

Third Normal Form

Entities are in 2NF and all non-key attributes are independent. The table contains no non-key dependencies

23
Q

Fsiefjferff

A

Kdijvidjv

24
Q

DBMS

A

Database Management System

System software for the definition, creation and manipulation of a database

25
Q

Data dictionary

A

Set of data that contains metadata (data about other data) for a database

26
Q

Data modelling

A

The analysis and definition of the data structures required in a database and to produce a data model

27
Q

Logical schema

A

A data model for a specific database that is independent of the DBMS used to build that database

28
Q

Access rights

A

Permissions given to database users to access, modify or delete data

29
Q

Developer interface

A

Feature of a DBMS that provides developers with the commands required for definition, creation and manipulation of a database

30
Q

SQL

A

Structured Query Language

The standard query language used with relation databases for data definition and data modification

31
Q

Query processor

A

Feature of a DBMS that processes and executes queries written in SQL