answersLogoWhite

0

What are the rules of algorithm?

Updated: 8/9/2023
User Avatar

Wiki User

12y ago

Best Answer
An algorithm is a set of instructions that tells something (in this case, a computer) how to complete a specific task. An algorithm can be as simple as the following:

1. Move hand to wrench.

2. Pick up wrench.

3. Move wrench over to bolts.

4. Turn wrench clockwise five times.

5. Move wrench to original location.

6. Let go of wrench.


However, algorithms can be extremely complex and resource-intensive depending on the task you are trying to accomplish.
User Avatar

Wiki User

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

Wiki User

12y ago

The rules to write an algorithm are:

1.Give statement numbers as step1, step2, etc.

2.Always begin with start

3.Write the statements clearly

4.Write stop at the end of the algorithm

5.Write each statement in a seperate line

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

what is the criteria for algorithm

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the rules of algorithm?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is the rules that a calculator follows in performing a series of steps is called?

algorithm


What is the difference between an algorithm and a computer program?


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.


What is a set of rules for performing a mathematical procedure called?

An algorithm, perhaps.


What is the set of grammar and rules that specifies how to write instructions for a solution algorithm?

syntax


what is the google algorithm and specifications?

The Google algorithm is a set of rules that the search engine uses to determine which websites are ranked higher than others in its search results. The specifications for this algorithm are secret, and changes to it happen frequently. As a result, there is no way to know exactly how any given search will be ranked.


What contains specific rules and words that express logical steps of algorithm?

programming language


What is the definition of algorithm?

The definition of the word algorithm is a set of rules for solving a problem in a finite number of steps, as for finding the greatest common divisor.


What contains specific rules and words that express the logical step of an algorithm?

programming language


What is difference between alogrithm and pseudo code?

An algorithm is an abstract set of rules used to solve a specific problem. Pseudocode is just one of many ways to represent an algorithm.


How are the expanded algorithm and the standard algorithm different?

They are different because standard algorithm is more common then the expanded algorithm


What is the algorithm for dividing integers?

Procedure: 1. Divide the integers like you always do. 2. Follow these rules: (Note:+ is a positive integer, - is a negative integer and * is the multiplication symbol) a.+*+=+ b.+*-=- c.-*+=- d.-*-=+ Follow these rules and you will have your answer in no time.