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
CELEBRATION OF CLASSIC  PANCHTANTRA TALES with Shivangi Sharma Click on the following link for more details PANCHTANTRA TALES
  DAILY LOG(7.4.2021) Class III: Chapter-1 Working with Computer Peripherals Following topics were done: 1. Input, Process and Output 2. Activity on Input Process and Output wherein labelling was done as I, P and O 3. Introduction to various Input Devices(Keyboard, Mouse, Microphone, Joystick) CLASS VIII : Chapter- Creating a Documentary: Movie Maker Following topics were done: 1. Steps for installation 2. Components of Movie Maker 3. Steps to add Photo's and Video, Title, Caption, Visual effects were done. CLASS VII : Chapter-9: Coding Club: Python Following topics were done: 1. Comparison Operators(>,<,==,!= etc.) 2. Comparison Operators: Program to check where condition is true or false 3. Keywords in Python 4. Variable 5. Concatenation of two/three string variables. Homework: concatenation of three string variable example from book Pg-166