ALGORITHMS AND
FLOWCHARTS:
WHAT IS ALGORITHM?
• A step-by-step set of instructions to
solve a problem.
• Like a recipe that tells you exactly what
to do, in order.
• Example: How to make a cup of tea
2
CHARACTERISTICS OF A
GOOD ALGORITHM
• Clear and unambiguous steps.
• Takes input and produces output.
• Works for a set of inputs, not just one.
• Finishes after a limited number of steps.
3
FLOWCHART
• What is a Flowchart?
• A visual diagram that shows the
steps of an algorithm.
• Uses symbols and arrows to
represent actions and decisions.
• Helps us understand and
communicate the process easily.
4
COMMON FLOWCHART SYMBOLS
• Oval: Start or End
• Rectangle: Process or action
step
• Parallelogram: Input or Output
• Diamond: Decision (Yes/No
question)
• Arrow: Flow direction
5
EXAMPLE: FLOWCHART TO FIND THE
LARGEST OF TWO NUMBERS
• Start → Input two numbers →
Decision: Is first > second?
• Yes → Output first number is
largest → End
• No → Output second number is
largest → End
6
WHY USE ALGORITHMS AND
FLOWCHARTS?
• Break complex problems into
simple steps.
• Easy to understand and debug
before coding.
• Language-independent: anyone can
read and follow.
• Flowcharts act as blueprints for
writing programs.
7
THANK YOU
PRESENTED BY
M ABHISHEK
25B81A6665