9.6k views
0 votes
You have written a program to keep track of the money due to your company. The people in accounting have entered the information from the invoices they have sent out. However, the total from accounting does not agree with a total of a second listing of items that can be billed from the production department.

Using the drop-down menus, complete the sentences about the steps in the debugging process.

As a first step in diagnosing the problem, you will
✔ reproduce the error.
A good place to begin is by examining the
✔ error codes.
Next, you can
✔ troubleshoot
the problem.
This will help you
✔ identify the source of the problem.

User Thinwybk
by
3.8k points

2 Answers

2 votes

Answer:

As a first step in diagnosing the problem, you will

✔ reproduce the error.

A good place to begin is by examining the

✔ error codes.

Next, you can

✔ troubleshoot

the problem.

This will help you

✔ identify the source of the problem.

Step-by-step explanation:

User Sajith Vijesekara
by
3.5k points
5 votes

Answer:

1. REPRODUCE THE ERROR

2. ERROR CODES

3. TROUBLESHOOT

4. IDENTIFY THE SOURCE OF THE PROBLEM

Step-by-step explanation:

Debugging a program simply means a sequence of steps which one takes to correct an imperfect program, that is a program that does not run as intended.

A good way to start debugging is to run the code, by running the code, one will be able to determine if the program has a bug. If it has then it produces an error. This error is a good starting point as the error code gives a headway into where the bug may lie.

The error code gives a hint into the type of error causing a program to malfunction which could be a syntax error, logic, Runtime and so on. In some case probable lines where there error lies are spotted and included in the error code produced.

After evaluating the error code, then we troubleshoot the probable causes of the error. By troubleshooting all the possible causes, the source of the error will eventually be identified.

User Sanford
by
4.1k points