Programming is a knowledge-based task; it can be stated art professionally to write a code with minimum memory utilization. It is not just a typing. It involves knowledge and the sequential approach of development. Let us understand the program development life cycle.
We need to consider the following steps:
1. Understand the Problem Statement
2. Prepare the Logic
Preparing the logic is the prime activity of the program development cycle. Its prerequisite is to have analytical skills. Whatever information is gathered from the user, we need to analyze it and prepare a scenario. Here we have to start planning the steps for writing the code and finalize the sequence of the steps. For this, we can use flowcharts or pseudocode. Planning a program is also referred to as “developing an algorithm’ An algorithm is the sequence of steps or rules we follow to solve a problem.
In this step, the programmer needs to think carefully about all the possible data values a Program might encounter and how we want the program to handle each scenario.
3. Write a Code
In this step, first, we need to decide which programming language to be used. Despite their differences, programming languages are quite similar in their basic capabilities. After choosing a language, the programmer must be concerned about using the correct syntax.
4. Use Software (a compiler or interpreter)
5. Test the Program
Sometimes an error-free program may have logical errors. A logical error results after using a syntactic correct statement; however, use the incorrect one for this context. So the programmer has to execute the program and provide some sample data to see whether the results are logically correct. The process of finding and correcting program errors is called debugging.
6. Put the Program into Production
Putting the program into production is simply executing the program to make sure that it is working as per the requirement. Users also to be trained to understand that how to use the program to generate output.
7. Maintain the Program.
After programs square measure place into production, creating necessary changes is termed maintenance. Changes may occur because of changes in government rule for taxes or maybe as per the user’s requirement.
0 Comments