Computer Applications
Answer
An algorithm is defined as a sequence of instructions written in a step by step manner to get the desired results. It helps to develop the fundamental logic of a problem and is an effective method to solve different problems.
Some characteristics of an algorithm are as follows:
- Each step of an algorithm must be precisely defined.
- An algorithm must contain blocks that will help to solve problems more efficiently and logically.
- It should accept a set of inputs and produce a defined output.
- It must terminate after a finite number of steps.
- It should be independent of any computer programming language.
Related Questions
Write algorithms for the following:
To celebrate Teachers' Day
What is a flowchart? What are the features of a flowchart?
Define the following and draw their symbols:
(a) Process Box
(b) Terminal Box
(c) Input/Output Box
(d) Decision Box
Write algorithms and draw flowcharts for the following:
Accept the length of two different line segments and check whether they are equal or unequal. Display the message accordingly.