Related Links

Algorithm

Definition Of Algorithm

An Algorithm is a list of well-defined instructions or a step-by-step procedure to solve a problem.

More about Algorithm

The process of algorithm is also used in computer programs to perform a specific task in a specific order.

Examples of Algorithm

To add the numbers 150 and 457, split the numbers first and then add hundreds, tens and ones.
150 = 100 + 50, 457 = 400 + 50 + 7
150 + 457 = (100 + 400) + (50 + 50) + 7 = 500 + 100 + 7 = 607.

Video Examples: Mathematical Algorithms

Solved Example on Algorithm

Ques: Identify the algorithm that would help you to find the sum 71 + 56 + 69.

Choices:

A. 7 + 5 + 6 = 18; 1 + 6 + 9 = 16; 18 + 16 = 34
B. 70 + 50 + 70 = 190; 1 + 6 - 1 = 6; 190 + 6 = 196
C. 70 + 50 + 90 = 200; 1 + 6 + 9 = 10; 200 + 10 = 210
D. 7 + 5 + 6 = 9; 1 + 6 + 9 = 8; 9 + 8 = 17
Correct Answer: B

Solution:

Step 1: 71 = 70 + 1 [Write in the expanded form.]
Step 2: 56 = 50 + 6 [Write in the expanded form.]
Step 3: 69 = 70 - 1 [Write in the expanded form.]
Step 4: To find 71 + 56 + 69, add the tens and the ones separately.
Step 5: Adding the tens we get: 70 + 50 + 70 = 190.
Step 6: Adding the ones we get: 1 + 6 - 1 = 6. [Subtract 1 from 6 and then add.]
Step 7: So, 71 + 56 + 69 = sum of tens + sum of ones = 190 + 6 = 196.
Step 8: So, the algorithm that helps us to find the sum of 71 + 56 + 69 is 70 + 50 + 70 = 190; 1 + 6 - 1 = 6; 190 + 6 = 196.