TERM: 2nd Term
WEEK: 6
CLASS: S.S. 1
DATE:
SUBJECT: Computer Science
TOPIC: Programming steps
Computer programming�(often shortened to�programming) is a process that leads from an original formulation of a computing�problem to executable computer programs. Programming involves activities such as analysis, developing understanding, generating algorithms, verification of requirements of algorithms including their correctness and resources consumption, and implementation (commonly referred to as coding) of algorithms in a target programming language.
Steps Involved in Programming
This is the first�step�of programming and involves getting the following information.�These things are very important for the programmer because it provides him the basis for planning about the programming and to control the potential difficulties that may arise.
All�instructions�to be performed�at different stages are listed. This is done in simple English language. We may call it the strategic step.
It is a�graphical�tool that shows the�steps/stages which are to be executed in a program. All the steps which are written in the second stage are now presented in a diagrammatic manner so as to make it easily understandable. Making off flowchart�helps us in increasing our process of program development because it facilitates our ability to�define the logic, detecting and removing errors in a program design.
Types of flow chart
In this step, the programmer writes the instructions in a�computer language�to solve the problem. All coding processes depend upon the information obtained from�previous steps. Choice of language depends upon the requirements and facilities available with a language.
In this stage we�remove all�the errors in the program because when we are coding, there are chances that some mistakes may occur at that time. Here the program is executed manually, called DRY RUN. This is done several times until all the errors are removed from the program and the system becomes error free.
The program is tested�by entering a dummy data (which includes usual, unusual and�invalid�data) to check the behavior and result of the program towards the given data.
After going through all the above stages, the program is given the TRUE DATA. Here the programmer expects positive results of the program and expects full�efficiency�of the program.
Most programmers neglect this stage by giving many reasons, but this is very important because this will help the programmer to correct the problems that may occur in the program.
There are two types of documentation
ASSESSMENT
ANSWERS
�
� Lesson Notes All Rights Reserved 2023