+ 1
What is Algorithm? What codings or program language makes up algorithm. Which computer language be the best for Algorithm.
3 Réponses
+ 3
algorithm is a set of instructions to do a task. it is not only limited to computers. even walking or doing random stuff includes algorithms.
+ 2
hi. Seth Kumah
Algorithm is a step by step procedure to solving a problem (or in this case, to create a program)
Algorithm is not written with a programming language.
There are two kinds of writing an algoritm.
1. Pseudo-code: This is the process of writing an algoritm with english-like statements.
2. Flow charts: In this kind of algorithm, the step by step procedure is illustrated using charts (or shapes in which the instructions are written).
Examples of Pseudo-code algoritm:
Say you want to build a program which outputs even numbers between 1 and 10.
To write an algorithm, you might get a pen and paper to write the step by step instructions your computer should follow to get the results.
It could go like this;
START
1. Let a = 0
2. add 2 to a
3. If a is equal to 10, end the program. Else do step 2 again.
END
NOTE: An algorithm does not need any specific programming language to write. it's just the developer's way of creating a program jotted down so that it can be easily implemented in his code
0
This is the little info i have. you can also research of flow chart algorithms.