Databases Flashcards

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

Entity (definition)

A

Category of objects of interest to an organisation, about which data is to be recorded

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

Attribute (definition)

A

One piece of data collected about the entities in a database

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

Entity descriptor (definition)

A

An entity and all the attributes related to it

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

Entity descriptor for a book (example)

A

Book (BOOK_ID, title, author, date of publishing)

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

Entity identifier (definition)

A

The attribute responsible for uniquely identifying an entity, usually an ID number

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

Primary key (definition)

A

Unique identifier of an entity in a relational database

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

Secondary key (definition)

A

Set of attributes that can uniquely identify rows in a table (but not the primary key)

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

Flat file database (definition)

A

Singular file, can only specify attributes for one entity at a time

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

Record (definition)

A

Single item in a database

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

Relational Database (definition)

A

Data is held in tables (relations) and the tables are linked by common attributes

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

Explain indexing (2)

A

Index is kept of the position of each record according to its primary key Indexes may be created for secondary keys for any attribute commonly used as search criterion (e.g. title of a book). Searching this way is faster than searching sequentially

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

Secondary/alternate key (definition)

A

A set of attributes other than the primary key which can be used to uniquely identify attributes

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

Entity relationship (definition)

A

The correlation between two entities

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

Entity relationship modelling (definition)

A

Producing a data model for describing data or information aspects of a business domain or its process requirements, in an abstract way

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

Foreign key (definition)

A

Column of attributes linking two tables together (i.e. attributes appearing in more than one table)

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

Composite key (definition)

A

A unique primary key composed by adding more than one field together

17
Q

Referential integrity

A

Ensuring consistency where information is not removed if it is required elsewhere in a linked database.

18
Q

One reason referential integrity is important

A

If two tables are linked, one cannot be deleted as the other needs its contents.

19
Q

Describe a one to one relationship

A

Each entity can only be linked towards one other entity

20
Q

Describe a one to many relationship

A

One entity can be associated with multiple other entities

21
Q

Many to many relationship

A

One entity can be associated with many other entities and the same applies to the other way around

22
Q
A
23
Q
A
24
Q
A
25
Q
A