Databases Flashcards

1
Q

What does organised mean in databases?

A

Databases have a structure so that they can easily be processed.

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

What does a database need to be to be functional?

A
  • Accurate
  • Up to date
  • Available for those who need to use them
  • Protected from those who should not have access to them
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What should databases be protected against?

A
  • Errors
  • Loss
  • Insufficient data
  • Inconsistencies
  • Unauthorised access
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What can errors in databases result in?

A
  • Embarrassment, sending bills to dead customers.
  • Financial loss, if a bank account is wrongly credited.
  • Life or death situations, such as incorrect navigational data for aircraft.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Why can data be lost?

A
  • A catastrophe, such as fire or flood.
  • An accident, such as an employee.
  • Malicious action, such as by an intruder.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How can data be protected by potential loss?

A
  • Making regular backups
  • Having a mirror database so that the data is saved in at least two places
  • Storing backups in a safe place such as in the cloud or otherwise off site
  • Restricting access
  • Keeping audit trails of who has accessed data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is data integrity?

A

It means the data reflects reality and implies the data is correct and fit for purpose.

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

What can data integrity be maximised by?

A
  • Suitable validation

- Software that prevents inconsistent states

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

What is validation?

A

It checks the data conforms to certain rules.

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

Name two examples of validation methods?

A
  • Length check
  • Type check
  • Range check
  • Presence check
  • Lookup check
  • Format check
  • Check digit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the meaning of a length check? Give an example.

A

Must have a certain number of characters or be above or below some limits.

E.g. A password must be long enough to be strong.

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

Name a validation method, what do it means and give an example.

A

Look it up in your book nerd. I’m to lazy to type them all out. Here is some methods:

  • Length check
  • Type check
  • Range check
  • Presence check
  • Lookup check
  • Format check
  • Check digit
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What does persistent mean?

A

It is saved on secondary storage for the future.

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