Data Flashcards

1
Q

In ASCII, each character is represented with how many bits?

A

In ASCII, each character is represented with 7 bits

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

What is data validation?

A

Data validation checks that data being passed into a program meets a set of requirements

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

List the types of validation checks

A

range check
format check
length check
presence check
check digit

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

What is data verification?

A

Data verification is used to ensure that the data entered is what the user intended to enter.

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

List the verification methods

A

Proofreading
Double entry
Parity check
Checksum

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

What kind of errors do check digit algorithms detect?

A

Check digit algorithms are designed to detect - human transcription errors, such as:
- letter/digit errors, e.g. I -> 1 or O -> 0
- single-digit errors, e.g. 1 -> 2
- transposition errors, such as 12 -> 21

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

advantages of ascii over unicode

A

ascii consumes less memory

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

advantages of unicode over ascii

A
  1. unicode can represent a large range of characters from special symbols to different languages (more compatible in the globalised world)
  2. Flexible Encoding Schemes: multiple encoding forms to ensure efficiency when encoding different languages
  3. Backward Compatibility with ASCII, first 128 characters are the same
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

types of erros

A
  1. syntax error
  2. runtime error
  3. logic error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

type of contriants to promote data integrity

A
  1. entity integrity: each row of data must have a primary key
  2. referential integrity: foreign keg must point to an existing primary key
  3. domain integrity: each column should have the same schema
  4. user defined integrity: applying further constraints like length
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

purpose of backups

A

it is to create copies of data to restore it in case of data loss or corruption
backups serve as a safety net to recover data swiftly and minimises downtime in the event of hardware failure, cyber attacks, human errors or natural disasters

it should be
1. created at regular intervals
2. stored offsite
3. tested reguarly

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

purpose of data archivals

A

(save cost save space)
it involves storing data for long term retention, typically compliance, historical reference
archiving ensured that data remains accessible for as long as needed even if it is not used in active day to day operations

it is stored for long term preservation that can be scaled and is cheap

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