Skip to main content

ALGORITHMS


Algorithm is a step by step process of solving any problem.

Examples of algorithm:

(a) ALGORITHM TO SEND A LETTER TO YOUR FRIEND:

Step 1: Take a blank paper sheet and a pen or pencil.

Step 2: Write a letter.

Step 3: Put it inside an envelope and seal it.

Step 4: Write the address of your friend on the envelope.

Step 5: Paste stamps on the envelope.

Step 6: Drop the letter into the letter box.

(b) ALGORITHM TO FIND AVERAGE OF THREE NUMBERS:

Step 1: Take three numbers.

Step 2: Add the three numbers.

Step 3: Divide the sum by 3 to get the average.


ADVANTAGES OF ALGORITHMS:

1. Easy to understand, implement

2. Easy to modify.

3. They are not dependent on any computer language.


ALGORITHMS IN OUR DAILY LIFE:



Comments

Popular posts from this blog

 DAILY LOG(12.8.2021) CLASS III: CHAPTER-3: ENHANCE YOUR DRAWING USING PAINT 1. Cutting and Pasting a Picture 2. Copying and Pasting a Picture 3. Rotating a Picture 4. Resizing a Picture 5. Printing a Picture Activity: Drawing a Train in MS Paint. Rotate and Resize it. CLASS VII: CHAPTER-1: NUMBER SYSTEM 1. Binary Number System 2. Converting Decimal to Binary Number System 3. Converting Binary Number System to Decimal Number System