+17

# 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

+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.

+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.🙂

+6

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.

+5

Kidfand cool explanation

+5

From what i know, algorithm is something that we do, but it's explained step by step example: When we usually want to call someone we just say:,,I'm taking the phone and i'm calling someone" In algorithms calling someone will look like this: 1.Go next to the phone 2.Pick up the phone 3.Write the number 4.Put the phone next to your ear 5.Wait for the person to answer the phone 6.Start talking with the person And more...

+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

A set of instructions

+3

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.

+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.

+3

Thank you Bunny I understood it. 😊

+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