+16

What is a algorithm? Explain please

Guys, I don't understand what is that. I almost see that term everywhere and Heard from every programmer. Question is what is that? Please explain me

9/15/2019 8:19:45 AM

bunny

27 Answers

New Answer

+32

You have written 14 codes by now. In each code you wrote something like 1. getting the user input 2. processing or validating the data. like if the user entered some string, you checked for it's length, then converted each lowercase char to it's uppercase value, 3. displayed the result. The steps you wrote is nothing but algorithm. Algorithm is simply a sequence of steps executed in order so as to get the desired results.

+15

bunny algorithm is powerful way to set in best possible way of anything . for example : google use their own algorithms to display searches . when you'll start writing in search box "temp... " google will show some searching hint like " temperature " , "temperature in "your location" " , "temporary meaning" etc . here ~ temp... = suggestion comes from dictionary ~temp... = suggestion comes from wikipedia ~ temp.. = possible word which uses most . ~ temp... = template near current location ~temp ... = temperature of your recent searched location . dozens of possible result . what can make a sence can write in code/program (for this example) is algorithm. so google have written almost possible thing or prediction in a systematic way . you use few trick for particular thing in a systematic way is alo an algorithm.

+12

Thank u guys for giving ur lovely answers. Thank u so much

+10

Roshan karangreat Kavi Rash Jacob Heath Geddha_SK_1729❣️

+6

SuKhI🕊️ @ana_victorius Swaroop Chandra Coder Coding Einstein lololearn 『#AVD001』 Rishan [da_coder] Md Sharique Prince Kashyap

+6

Please do not write sentences in Relevant Tags, it will ruin the search engine functionality. Hope you understand 👍

+6

It is a procedure to perform a given task. I would recommend you to use the search bar to avoid duplicate copies of questions.🙂

+5

Kidfand cool explanation

+4

It's a step by step procedure to solve a problem. There is no specific rules for writing algorithm except some guidelines. It is a logical way of solving a problem. It helps you to create a program easily.

+4

bunny an algorithm is are Ordered steps that solve a mathematical problem. A precise step-by-step plan for a computational procedure that possibly begins with an input value and yields an output value in a finite number of steps. 

+4

Sonic I have already searched this question several times making sure that no one has posted this. Please check, I don't see any Don't think u are a mod

+4

Well, I will explain you this, so that even a small kid would understand😉 Algorithm is like your day. First, you get up from your bed-> only then you take a shower -> Have a breakfast/or not ->| | If the weather is normal-> then you go to work \ Else -> you stay at home and do what you want If you understand this, it is easy to illustrate this situation in program. In role of 'you' would be a compiler that completes given tasks ___step by step___ untill the expected result😏

+3

TECHNICALLY, any small program can be called an algorithm. But when programmers refer to 'algorithms' they're usually referring to a highly mathematically complex function to complete a task.

+3

In programming, algorithm is a set of well defined instructions in sequence to solve the problem.

+3

Kindly do a search. The question has been asked before several times.

+2

A set of instructions

+2

With simple words, algorithm is a process that do something. Algorithm is a total of steps which do something or solve something. For example you want to climb a mountain. You wake up, you prepare your equipment, fill up your water bottles, eat something and you begin your road on the top of the cliff. This process is the algorithm.

+2

I want to see the fastest way to point B from point A, so I need an ALGORITHM. It's basically a function that can be used to solve a wide range of similar mathematical problems.

+2

An algorithm is the logical steps to a process. Like opening a door. 1. Walk to the door 2. Grab door knob 3. Turn the knob 4. Pull door knob 5. etc...

+2

algorithm is the step by step procedure to accomplish a given task