2. Objectives
• Understand what an algorithm is
• Learn the characteristics of a good
algorithm
• Explore flowcharts and their symbols
• Learn to create simple algorithms
and flowcharts
3. What is an Algorithm?
• A step-by-step procedure to solve
a problem
• Like a recipe that tells you what
to do
• Used in mathematics, computer
science, and everyday life
4. Characteristics of a Good Algorithm
• Clear and Unambiguous
• Well-Defined Inputs and
Outputs
• Finite Steps
• Effective and Efficient
5. Real-Life Example of an Algorithm
• Problem: Make a cup of tea
• Steps:
• 1. Boil water
• 2. Add tea leaves
• 3. Add sugar and milk
• 4. Stir and serve
6. What is a Flowchart?
• A graphical representation of an
algorithm
• Uses symbols to show steps in a
process
• Helps to visualize the logic before
coding
9. Algorithm vs Flowchart
• Algorithm: Text-based,
medium readability, step-by-
step debugging
• Flowchart: Diagram-based,
high readability, visual tracing
10. Practice Time
• Write an algorithm to find the
largest of two numbers
• Draw a flowchart for the same
problem
11. Summary
• Algorithms are step-by-step
instructions
• Flowcharts are visual tools to
understand logic
• Both are essential for problem-
solving in programming