Errors and Testing Flashcards
what is iterative testing?
testing the code as you create it, altering as required
what are the three types of error?
syntax,runtime,logic
what are logic errors?
a bug that causes a program to operate incorrectly but not crash, so it gives unintended results
what is a runtime error?
an error that causes the program to crash even if there’s nothing wrong with the code, only detected when the program is run, eg run out of memory, infinite recursion
what does gigo stand for?
garbage in garbage out
what is casting?
changing the data type of a variable
what is initialising?
giving a variable a value when it is created
what is assignment?
changing a variable’s value
what is a transcription/transposition error?
errors in transferring data onto a computer
how can data entry errors occur?
-errors in source doc
-transcription/transposition errors
what is verification? (not abt passwords)
the process of checking data to make sure that it has been transferred accurately
list some verification methods
double entry - eg password entry
proof reading- looking at hard copy and comparing
what can incorrect data lead to?
loss of income, loss of reputation, legal ramifications, incorrect processing
why is it important to check data?
important to any organization to make sure that the data they are processing is as accurate as possible
are strings primitive data types?
yes