key terms Flashcards
what is a syntax error?
A type of error in code which prevents it from running because it does not follow the rules of the programming language.
what is a logic error?
A type of error when a program runs but does not produce the desired result.
what is boundary data?
Test data that is on the edge between valid and invalid data.
what is source code?
Source code
what does initialisation mean?
To give the first value to a variable.
what are trace tables used for?
to ‘dry run’ a program to see the value of variables and the program output.
what are global variables?
A variable that is accessible to the entire program.
what are local variables?
A variable that is accessible only within the subprogram in which it is defined.
what is a run-time error?
An error that occurs when your program runs, such as a missing file or being out of memory.