Javatpoint Logo

Algorithm

By: sravan*** On: Sat May 11 13:47:22 EDT 2013     Question Reputation20 Answer Reputation0 Quiz Belt Series Points0  20Blank User
what is the purpose of a algorithm?
Up0Down

 
An algorithm is the numbers to be calculated to get an answer to a problem.
Image Created0Down

By: [email protected] On: Sat May 11 14:26:55 EDT 2013 Question Reputation0 Answer Reputation392 Belt Series Points0 392User Image
Are You Satisfied :5Yes5No
 
"an algorithm is any well-defined computational procedure that takes some value, or set of values, as input and produces some value, or set of values as output." In other words, algorithms are like road maps for accomplishing a given, well-defined task. So, a chunk of code that calculates the terms of the Fibonacci sequence is an implementation of a particular algorithm. Even a simple function for adding two numbers is an algorithm in a sense.
algorithm is used to make your problem simple and easy.
Algorithms can be described in any programming or natural language, or with special devices like flow-charts.
In computer systems, an algorithm is basically an instance of logic written in software by software developers to be effective for the intended "target" computer(s) for the target machines to produce output from given input.
There are various ways to classify algorithms, each with its own merits.
like
1.Recursion or iteration
2.Logical
3.Serial or parallel or distributed
4.Exact or approximate
5.Quantum algorithm
6.Deterministic or non-deterministic
etc
Image Created5Down

By: [email protected] On: Sat May 11 18:10:50 EDT 2013 Question Reputation14 Answer Reputation44 Belt Series Points2 60User Image
Are You Satisfied :4Yes3No
 
SO Simple..

Its just a step by step procesure to solve a particular problem .
Image Created1Down

By: [email protected] On: Sat May 18 10:33:39 EDT 2013 Question Reputation0 Answer Reputation11 Belt Series Points0 11User Image
Are You Satisfied :2Yes2No
 
Image Created0Down

By: [email protected] On: Tue Aug 30 11:34:19 IST 2016 Question Reputation0 Answer Reputation0 Belt Series Points0 0User Image
Are You Satisfied :0Yes0No