Data Validation/Program Testing Flashcards

1
Q

Data Verification

A

To ensure the data entry exactly matches the original source

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

Types of verification?

A
  • Double Entry: Enter data twice and compare the two copies
  • Proofreading: Have a person check the data entered against original document
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Types of validation?

A
  • Presence Check: Ensure data is entered
  • Type Check: Ensure suitable data type
  • Format Check: Ensure data matches a required arrangement or pattern
  • Length Check: Ensure correct number of characters
  • Range Check: Ensure within predetermined range
  • Check Digit: Allows data to be self-checking
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Data Entry Errors

A
  • Transcription Errors: Typographical mistakes
  • Transposition Errors: Two or more characters positions are accidentally swapped
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Error Types

A
  • Syntax: When code does not follow syntax rule of the programming language (e.g. misspelling statements or unmatched parenthesis)
  • Runtime: takes places during execution of program
  • Logic: program runs but does not do what it is expected to do
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Types of runtime error?

A
  • Input error
  • Index out of Bound error
  • Undeclared variable error
  • Arithmetic error
  • Out of Memory error
How well did you know this?
1
Not at all
2
3
4
5
Perfectly