Define algorithm? explain its characteristics
Answers
an algorithm is a sequence of finite instructions, often used for calculation and data processing. It is formally a type of effective method in which a list of well-defined instructions for completing a task will, when given an initial state, proceed through a well-defined series of successive states, eventually terminating in an end-state. The transition from one state to the next is not necessarily deterministic; some algorithms, known as probabilistic algorithms, incorporate randomness.
A step-by-step method of solving a problem or making decisions, as in making a diagnosis.
An established mechanical procedure for solving certain mathematical problems.
Properties of the algorithm
Answer:
algorithm is a step proceduce to solve the problem.
characteristics:
input:algorithm must acept one or more data to be processed.
definite:each operational steps must clearly specify that what should be done.
effective:the opperations must be simple and carried out in finite time.
output:the algorithm must produce one or more computed results caller outputs.