Get premium membership and access questions with answers, video lessons as well as revision papers.

What are the methods of detecting errors in a program?

      

Explain the methods of detecting errors in a program.

  

Answers


Maurice
(a) Desk checking or dry run: This method involves the program code while still on a paper to pick up any conspicuous logic and algorithm errors before you enter the code in the chosen programming language.

(b) Use of Translator: This involves use of programs like compilers or interpreters to detect any syntax errors present in the program code. Modern translators offer suggestions on how to correct the errors.

(c) Test data: This method involves the entry of variations of data. Valid data is entered to observe if the program generates the expected outcome and invalid data is also entered and executed to check if the program hangs or crashes suddenly.
maurice.mutuku answered the question on April 21, 2018 at 08:07


Next: What are the common types of errors encountered during program development?
Previous: Using illustrations from Blossoms of the Savannah,show how the theme of Love has been illustrated.

View More Computer Studies Questions and Answers | Return to Questions Index


Learn High School English on YouTube

Related Questions