Problem Solving Techniques

Problem Solving Techniques

Programs are not quick creations.We should adopt a proper problem solving methodology and use appropriate techniques.

   Understand the problem well

To create a new problem or to improve an existing one, we must recognize that a problem or need for improvement does exit.

Analyze the problem

The first step is to carefully analyze the problem, the program should solve, so that you can begin to develop an appropriate solution. Analyzing the problem involves identifying the program specifications and defining each program’s minimum number of inputs, required for outputs, and processing components.

Design programs

In this type, we are supposed to determine logical sequence of precise steps that solves problem.

Code Programs

This step is to translate the algorithm into a programming language.

Test and debug Programs

Debugging is the process of correcting errors found during the testing problem.

Complete the Documentation

Documentation allows another person to understand the problem faster.

Maintain Programs

Maintaining programs involves modifying the programs to remove previously undetected errors and to keep the program up-to-date.


Documentation refers to written descriptions, specifications, designs, codes and comments, internal and external to a program, which make a program more understandable, readable and easy to modify.

Uses of documentation

  1. Facilitates communication about an application between the technical development personnel and non-technical users.

  2. Essential during abnormal or urgent maintenance.

  3. Very helpful in training.

  4. Enables trouble shooting when the application system breaks down.

Program Maintenance

Programming maintenance refers to the modification of a program, after it has been completed, in order to meet changing requirements or to take care of errors that show up. There could be four types of maintenance:

  1. 1)Corrective Maintenance: After completion when it put to operations some errors might show up because of unexpected situations. Such errors are there, which is done to correct the errors is called corrective maintenance.

  2. 2)Adaptive Maintenance: change in the environment in which an information system operates may also lead to the system maintenance. To accommodate changing needs time to time maintenance is called Adaptive Maintenance.

  3. 3)Preventive Maintenance: If possible errors could be anticipated before they actually occur. This type of maintenance aims at preventing errors called Preventive Maintenance.

  4. 4)Perfective Maintenance: Every year new technologies come with new features and new facilities. If the existing system is maintained to keep attuned with new features, new facilities, new capabilities is said to be perfective maintenance.