Testing And Running A Solution Flashcards
When the code is tested, variable prints causes a keyword violation error. Describe what is meant by a keyword(F452 Q2 Jun 2011)
Words which are already use for a purpose with the language
A reserved words cannot be used as an identifier
Alpha testing
Testing is carried out by the program software company
Playing the role of the user
During development
To find bugs in the program
Beta testing
The nearly complete program
… Is given to a group of users to test/ is tested under normal operating conditions/Tested by people who are not involved in the production
The aim is to find any bugs which the programmer has overlooked
Acceptance testing
The program is tested to prove to the end user
… That the program works correctly
Meets the original objective
After development is complete
Before handing it over/and you say I will pay if is satisfied
Name and describe one type of error which can occur in a program, stating when it would be detected (F452 Q3 Jan 2010)
Syntax error When the program is translated Logic error Doesn't not perform the algorithm intended by the programmer/suitable example detected when program produces incorrect result Run time error Statement in the code cannot be executed Detected when the program crashes
Describe debugging tools and you facilities available in programming languages, which can be used to identify and correct errors in computer programs (F452 Q1 June 2009 (6))
Translator diagnostics pick up syntax error and informs the programmer who can then correct the error and translate again.
Breakpoints course the program to halt in execution strategic points current values can then be checked.
Watches cause the program to halt in execution is a condition is met such as a variable changing
Stepping – executing the code one statement at the time observing path of execution and changes to variables. Can be used with break points or watches