answersLogoWhite

0


Best Answer

An algorithm is a stepwise sequence of operations that can be performed to solve a problem. The operations are expected to be 'simple', so they can be performed mechanically.

A simple example algorithm is "how to find the largest number in a list of numbers":
- look at the first number and write it down as the largest-so-far
- for each remaining number in the list:
- - replace largest-so-far with this number if this number is larger
- when you have compared all the numbers, largest-so-far is the largest number in the list

A less trivial algorithm is the one people learn in school for multiplying multi-digit numbers, called "long multiplication" or "grade-school multiplication". It becomes rather long if you write down all the steps (as you would need to for an algorithmic description), but it involves multiplying each digit in the first number with each digit in the second number and summing the partial results.
Here the simple operation is multiplying two single digits, which you are expected to know how to do, and by using the algorithm you can extend the knowledge of how to multiply single digits to multiply numbers with any number of digits.

See related links.

User Avatar

Wiki User

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

Wiki User

12y ago

Characteristics of Algorithm

n Finiteness:

F terminates after a finite number of steps

n Definiteness:

F rigorously and unambiguously specified

n Input:

F valid inputs are clearly specified

n Output:

F can be proved to produce the correct output given a valid input

n Effectiveness:

F steps are sufficiently simple and basic.

Read more: Explain_characteristics_of_algorithm

This answer is:
User Avatar

User Avatar

Wiki User

12y ago

explain the input,output, termination, definiteness, effectiveness

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

While designing an algorithm as a solution to a given problem, we must take care of the following five important characteristics of an algorithm.

This answer is:
User Avatar

Add your answer:

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

How do you describe an algorithm with rational numbers?

Describe an algorithm for dividing rational numbers.


What are the example of products or solution found at home and in stores and their characteristics and describe?

give me example in product or solution


Describe the various notations used to define the effiency of An algorithm?

notations used to define the efficiency of An algorithm


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 are the characteristics of a good algorithm?

Every algorithm should have the following five characteristics: 1. Input 2. Output 3. Definiteness 4. Effectiveness 5. Termination


What is algorithm and what are its characteristics?

An "algorithm" is simply a method to solve a certain problem. For example, when you use the standard method you learned in school to write down two numbers, one beneath the other, then add them, you are using an algorithm - a method that is known to give correct results in this particular case.


How does the Greedy Algorithm work?

There is not "a" greedy algorithm; "greedy algorithm" is a term to describe several algorithms that have some things in common. The general idea is that at each step, you look for what seems to be, "locally", the best solution. For example, in a shortest-distance problem, look for a step that takes you closer to the destination. This may, or may not, lead to the best solution overall.


How would you describe the characteristics of Discicristates?

Disc -like cristae in the mitochondria of the cell, typical example might be Euglenoids


What is the lithosphere and describe its characteristics?

what is the lithshpere and describe it


What is the lithosphere describe its characteristics?

what is the lithshpere and describe it


What is the lithosphere and describe the characteristics?

what is the lithshpere and describe it