Databases - Design - 1 Flashcards

1
Q

How many entities does one table hold the attributes for?

A

1

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

When does one to many cardinality exist?

A

When one entity can be present in many different instances of another entity.

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

What is a Data Dictionary and what do they contain?

A

They are used to plan information and includes the name and description of the attributes (fields) in each entity(table) within a database.

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

What are entities?

A

A place where information about a concept is collected – a table. They are made up of attributes.

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

What are attributes?

A

They describe the details of an entity (field)

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

What are validation checks used for?

A

They ensure data is allowable, making it harder to make mistakes.

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

Name and describe the 4 types of validation checks

A
  • Range – ensures data is between a lower and upper limit
  • Restricted Choice – limits the user to a list of options.
  • Length Check – restricts number of characters that can be entered.
  • Presence Check – ensures that the field is not left blank
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

List the 6 laws in the GDPR act

A

The implications for individuals and business of the UK GDPR legislation means that the data they hold must be:

  • processed lawfully, fairly and in a transparent manner in relation to individuals
  • used for the declared purpose only
  • limited to the data needed for the declared purpose
  • accurate
  • not kept for longer than necessary
  • held securely
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 that is usually arranged across many tables, which can be joined via a primary or foreign key.

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