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

 WISHING YOU ALL VERY HAPPY AND SAFE HOLI: Festival of Colours Holi is a popular ancient Hindu festival, also known as the "festival of colours", and the "festival of spring". It celebrates the victory of lord Vishnu (Narasimha) over Hiranakashyap which signifies the triumph of good over evil. It also celebrates the divine and eternal love of Radha Krishna.  Holi is originated and is predominantly celebrated in India but has also spread to other regions of Asia and parts of the Western world through the diaspora from the Indian subcontinent. Holi celebrates the arrival of spring, the end of winter, the blossoming of love and for many it is a festive day to meet others, play and laugh, forget and forgive, and repair broken relationships. The festival also celebrates the beginning of a good spring harvest season.
 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
 DAILY LOG(16.4.2021) CLASS VI : Chapter 7: Algorithm and Flowcharts Following topics were done: 1. Algorithm to make Cold Coffee 2. Algorithm to add two numbers 3. Algorithm to subtract two numbers 4. Introduction to what is a flowchart Classwork: Upload the algorithms on GC Homework: 1. Algorithm to make Vegetable sandwich, 2. Algorithm to brush your teeth, 3. Algorithm to find product of three numbers. Upload these algorithms on GC. CLASS III : Chapter-1: How a Computer Works Following topics were done: 1. Storage Devices- Hard Disk, CD/DVD, Pen Drive 2. Processing Device-CPU