Debugging is the process of detecting and correcting the syntax errors in a program.This consists of two stages:
- Systematic desk checking
- Translator system checking
1. Desk Checking
When a program is completed, a thorough desk check will eliminate many needless errors. This check may include are view by a second person who is an expert in computer programming.
2. Translator Checking
BASIC system has certain rules which must be followed, such as rules for naming variable and for using punctuation. If rules are not followed or if the instructions are not coded properly, the translator system will detect these errors during the translation process.
Some BASIC systems do a line-by-line syntax check as the lines are being typed. Errors in a line are caught immediately even before the next line is typed in.
Post a Comment