Databases (1.3.1) Flashcards

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

What is a database?

A

A persistant, organised store of related data.

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

What is a relational database?

A

A database which recognizes the differences between entities by creating different tables for each entity which form a relationship.

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

What is an entity?

A

An item of interest that has data stored about it.

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

What is an attribute?

A

Characteristics or categories of an entity

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

What is a flat-file database?

A

A database with on file/ table usually based around a single entity.

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

What is a record?

A

A group of related fields or one instance of an entity.

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

What is a field?

A

A single piece of data

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

What is a primary key?

A

A unique identifier for each record in a table.

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

What is a foreign key?

A

A common attribute which links two tables together.

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

What is a secondary key?

A

Another other key which allows a database to be search quickly but is not unique to a single record.

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

What are the three main ER diagram relationships?

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

What is a one to one relationship?

A

When each entity can be linked only one other entity e.g. husband to wife

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

What is a one to many relationship?

A

One table is linked to many others e.g. mother to children

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

What is a many to many relationship?

A

When one entity can be associated to many other entities and vice versa. e.g. students and lessons.
This is not allowed in a relational database because it leads to redundant data.

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

How can data be captured?

A
  • Manually
  • Magnetic Ink Character Recognition
  • Optical mark Recognition
  • Optical character recognition
How well did you know this?
1
Not at all
2
3
4
5
Perfectly