answersLogoWhite

0

What is an example of an algorithm?

Updated: 8/10/2023
User Avatar

Wiki User

14y ago

Best Answer

A computer algorithm is any set of instructions that a computer could use to produce a result. An example would be "given a numeric input, multiply that value by 9, divide the result by 5, then add 32." This is how a Celsius temperature is converted into Fahrenheit.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

11y ago

WHAT'S AN ALGORITHM? SHORT ANSWER

An algorithm is just a 'plain text english' statement way of writing out a program; without having to resort to using any 'specific programming language code'. For example,...

====

CONCLUSION

As you can see from the above examples which use 'different' programming languages to solve the same task with, namely:

-> QBASIC

-> VBScript

-> Javascript

-> Python

-> etc.

...once you've already gone and created the plain text english language based 'algorithm' to solve a particular problem; then, that 'one' same algorithm, can be readily re-used, over again and again...in conjunction with almost 'any' programming language code...to solve what are, in fact, similar problems.

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

An algorithm is just about any method used to solve a problem. Common algorithms include the methods taught in school to add, subtract, multiply and divide numbers with pencil and paper.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

an algorithm is a well defined set of instrictions for completing a task. Example, car will not start, is battery flat...no, it there petrol...no, get petrol. will it start now...yes

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

Go to the library and borrow this book: Are you Smart Enough to Work at Google? It's filled with them.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is an example of an algorithm?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the example of finiteness in algorithm?

I've never heard the term "finiteness" applied to an algorithm, but I think that's because the definition of an algorithm includes that it must be finite. So think of any algorithm and there is your example of finiteness.


Example of md5 algorithm?

fdf


What is an algorithn?

If you mean "Algorithm" an algorithm is simply a set of rules, or steps to complete, which are needed to solve a particular problem. An example would be a recipe in a cookbook. A recipe is an algorithm.


Give an example of a backtracking algorithm?

4d + 7 = -15


Design an algorithm for finding all the factors of positive integerfor example in the case of the integer 12your algorithm should report 12346 and 12?

design an algorithm for finding all the factors of a positive integer


midpoint circle algorithm example in real life?

الزكاء الاصطناعي


How do you write algorith of C programs?

There is no specific Hard and Fast rule for writing algorithm. The normal method is the following: 1. get a problem 2. find or invent an algorithm to solve it 3. implement the algorithm in a programming language (C, for example)


What symmetric algorithm encrypts data one bit at a time?

Example of a stream cipher


What is sub-algorithm?

It is an algorithm used by another algorithm as part of the second algorithm's operation.As an example, an algorithm for finding the median value in a list of numbers might include sorting the numbers as a sub-algorithm: There are plenty of algorithms for sorting, and the specifics of the sorting does not matter to the "median value" algorithm, only that the numbers are sorted when the sub-algorithm is done.For what an algorithm is, see related link.


Are algorithms limited to computing applications?

An algorithm is any procedure composed of fundamental steps, in a clearly defined order, that is guaranteed to halt. It need not be done on a computer, or be related to computation. For example, baking a cake using a recipe is an algorithm. Playing Snakes-and-Ladders is an algorithm. Backing a car out of a driveway can be done by following an algorithm.


Design an algorithm to find a reverse of number?

An example of an algorithm that will reverse a number is written as such, digit reverse(num), while (num>0) then, digit =num%10. This particular algorithm divides a number by 10 until the original number from the LSD is found.


What is an example of innovation by Google?

Google's first -and historically major development- was its search engine's algorithm.