top of page
Inaugurated by IN-SPACe
ISRO Registered Space Tutor

S0-SA3-0450

What is an Algorithm (simple – a set of steps)?

Grade Level:

Pre-School – Class 2

All domains without exception

Definition
What is it?

An algorithm is simply a step-by-step set of instructions to solve a problem or complete a task. Think of it as a recipe that tells you exactly what to do, in what order, to get a specific result.

Simple Example
Quick Example

Imagine your mom asks you to make a cup of chai. The steps she tells you – 'First, boil water. Then, add tea leaves. Next, add milk and sugar. Finally, strain and serve.' – that's an algorithm for making chai.

Worked Example
Step-by-Step

Let's say you want to calculate your total marks in 3 subjects: Maths, Science, and English. Here's an algorithm:
1. Find your marks for Maths.
---2. Find your marks for Science.
---3. Find your marks for English.
---4. Add the Maths marks to the Science marks.
---5. Add the English marks to the total from step 4.
---6. The final sum is your total marks.

Example: If Maths = 80, Science = 75, English = 85.
Step 4: 80 + 75 = 155.
Step 5: 155 + 85 = 240.
Total Marks = 240.

Why It Matters

Algorithms are the backbone of all technology around us, from the apps on your phone to the satellites in space. Understanding them helps you think logically and solve problems systematically, skills crucial for careers in software development, data science, and engineering.

Common Mistakes

MISTAKE: Thinking an algorithm is only for computers | CORRECTION: An algorithm is any set of steps to solve a problem, whether a human follows it or a machine.

MISTAKE: Skipping steps or doing them in the wrong order | CORRECTION: Algorithms require steps to be followed precisely, in the correct sequence, to get the right outcome.

MISTAKE: Making the steps too vague | CORRECTION: Each step in an algorithm should be clear, specific, and unambiguous, so anyone can follow it easily.

Practice Questions
Try It Yourself

QUESTION: Write a simple algorithm for brushing your teeth. | ANSWER: 1. Take toothbrush. 2. Apply toothpaste. 3. Brush teeth. 4. Rinse mouth.

QUESTION: Your friend wants to find the cheapest mobile data plan. What algorithm should they follow? | ANSWER: 1. List all available data plans. 2. For each plan, note down the price and the data offered. 3. Compare the 'price per GB' for all plans. 4. Select the plan with the lowest 'price per GB'.

QUESTION: Describe an algorithm for finding the average height of students in your class. | ANSWER: 1. Ask each student their height. 2. Write down all the heights. 3. Add all the heights together to get a total sum. 4. Count the total number of students. 5. Divide the total sum of heights by the total number of students. The result is the average height.

MCQ
Quick Quiz

Which of the following best describes an algorithm?

A random guess to solve a problem

A single instruction to a computer

A step-by-step set of instructions to solve a problem

A complex mathematical formula

The Correct Answer Is:

C

An algorithm is fundamentally a sequence of steps designed to achieve a specific outcome, which matches option C. Options A, B, and D do not capture the core idea of a structured, sequential approach.

Real World Connection
In the Real World

When you use a navigation app like Google Maps to find the best route from your home to school, it uses complex algorithms. These algorithms process traffic data, road closures, and distance to give you the most efficient step-by-step directions, just like an auto-rickshaw driver uses their knowledge of roads.

Key Vocabulary
Key Terms

INSTRUCTION: A command or order | SEQUENCE: The order in which things happen or are arranged | TASK: A piece of work to be done | PROBLEM: A matter or situation regarded as unwelcome or harmful that needs to be dealt with and overcome | SOLUTION: A means of solving a problem or dealing with a difficult situation.

What's Next
What to Learn Next

Now that you understand what an algorithm is, you can learn about 'Flowcharts'. Flowcharts are visual ways to represent algorithms, making them even easier to understand and design. It's the next logical step to visualize the instructions you just learned about.

bottom of page