


































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Most important basic elements for programming languages are: Programming Environment. Data Types. Variables. Keywords. Logical and Arithmetical Operators. If else conditions. Loops. Numbers, Characters and Arrays.
Typology: Lecture notes
1 / 42
This page cannot be seen from the preview
Don't miss anything!



































TRIVUz Academy www.trivuzAcademy.com
Expand the outline of the solution into an algorithm : Write a step-by-step procedure that leads to the solution.
Test the algorithm for correctness : Provide test data and try to work out the problem as the computer would. This is a critical step but one that programmers often forget.
Convert the algorithm into a program : Translate the instructions in the algorithm into a computer program using any programming language.
Document the program clearly : Describe each line of instruction or at least some important portions in the program. This will make the program easy to follow when accessed later for corrections or changes.
When we want a computer to perform a specific task, such as generating a marks sheet or a salary slip, we have to create a sequence of instructions in a logical order that a computer can understand and interpret. This sequence of instructions is called a program. The process of writing programs is called programming.
The task of programming involves a lot of effort and careful planning. Without this, the computer will produce erroneous results. The following steps should go into the planning of program:
Defining and analyzing the problem
Developing the solution logically using an algorithm
Understanding INPUT
Understanding OUTPUT