4.10 Fundamentals of Databases Flashcards

1
Q

Define an attribute/field

A

An individual fact, detail or characteristic of an entity

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

Define Database

A

An organised collection of related data/information

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

Define Entity

A

A thing, object or attribute about data that can be collected

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

What is a Flat-file Database

A

A database containing a single table

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

Define Primary Key

A

A unique piece of information within a table used to identify a record

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

Define Record

A

A collection of fields that refer to the same entity (usually a row in a table)

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

Define Foreign Key

A

A field in the table which contains the value of a primary key in another table (in essence linking 2 tables together).

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

Define (Data) Redundancy

A

The duplication of data within a database

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

What is a Relational Database

A

A database with multiple linked tables

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

Define a table

A

A collection of related data

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

Describe the problem with redundancy in FFD

A
  • If a data redundant field has to be changed, all of the fields which contain the same value must be modified, this makes the table more prone to error and so has less data integrity
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain the 3 Entity Relationships

A

1 - one-to-one (1:1) where one instance of an entity is associated to one instance of an entity
1 - one-to-many (1:N) where one instance of an entity is associated to more than one instance of an entity
1 - many-to-many (M:N) where more than one instance of an entity is associated to more than one instance of an entity

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