FORTRAN Questions and Answers

Mention what are the rules involved in debugging?

For debugging the rules involved are

• Code modification is not done until not sure about the bug by checking all the conditions and criteria
• Modular program is being used which defines the task, and it is placed in the debug statements that can ISOLATE some of the functioning of the code
• Combinations of inputs are carried out to get the desired output if strange results are noticed
• Use the tools provided with the debugger