4. Organisation and structure of data Flashcards

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

What is overflow?

A

When a value is too large to store with the number of bits available. In binary addition, this happens when there is a carry on the MSB.

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

What should be considered when designing a file?

A
  • field name
  • example data
  • data type
  • validation check
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the difference between validation and verification?

A

Validation is checking that data is acceptable before it is entered, and verification is checking data is correct after it has been entered.

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

Describe some validation checks

A
  • range check: check data is within a certain range
  • type check: check data is a certain data type
  • format check: checks data is entered in a certain way
  • presence check: checks data has been entered and not left blank
  • lookup table: a table of acceptable entries (could be a list)
  • length check: checks the length of the input
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe some verification checks

A
  • double entry: typing in data twice to make sure there were no spelling errors the first time
  • proofreading: checking two copies of data to ensure they are exactly the same
  • check digit: calculated on barcodes to ensure the rest of the numbers are correct, similar to a checksum in a data packet
How well did you know this?
1
Not at all
2
3
4
5
Perfectly