0% found this document useful (0 votes)
28 views10 pages

Sriram

Uploaded by

clababhyasa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views10 pages

Sriram

Uploaded by

clababhyasa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 10

SA1 COMPUTER

PROJECT
SRIRAM
VIII A
ALGORITHMS AND FLOWCHARTS
WHAT IS ALGORITHNM
• An algorithm is a procedure used for solving a problem or performing a
computation. Algorithms act as an exact list of instructions that conduct
specified actions step by step in either hardware- or software-based
routines. AlgoritWho defined an algorithm?
• Boolos, Jeffrey & 1974, 1999 define an algorithm to be a set of
instructions for determining an output, given explicitly, in a form that can
be followed by either a computing machine or a human who could only
carry out specific elementary operations on symbol.
EXAMPLE OF ALGORITHM
• Boil water in a kettle or on a stove.
• Grind coffee beans.
• Put a coffee filter or cheesecloth into a funnel or strainer and set it over
your coffee mug or carafe.
• Put the ground coffee into the filter.
WHAT IS FLOW CHART

A flowchart is a diagram depicting a process, a system or a computer


algorithm. It is a diagrammatic representation of the solution to a given
problem but, more importantly, it provides a breakdown of the essential
steps to solving the problem.
What are the four most common types of flowcharts? The process
flowchart, workflow diagram, data flowchart, and swimlane diagram are the
most popular types of flowcharts.
EXAMPLES OF FLOWCHART
STEPS TO DO FLOW CHART AND
ALGORITHM
• Creating a flowchart can be a great way to visually represent a process or decision-
making pathway. While I can’t draw one out for you directly, I can certainly guide
you through the steps to create an effective flowchart. Here’s a general approach:
• 1. Define the Purpose
• Determine the goal of your flowchart. What process or system are you trying to
map out? Clarifying this will help you decide what elements to include.
• 2. Identify the Start and End Points
• Decide where your flowchart will begin and where it will end. This helps in setting
the boundaries for the process you’re illustrating.
• 3. List the Steps
• Outline each step or decision point in the process. Make sure you include all
necessary actions or decisions that need to be made.
• . Choose Your Symbols
• Use standard flowchart symbols:
• Oval: Start/End
• Rectangle: Process or Action
• Diamond: Decision Point
• Parallelogram: Input/Output
• Arrow: Flow of the Process
• 5. Arrange the Steps
• Place the symbols on the chart in a logical sequence. Use arrows to connect them, showing
the flow of the process.
• 6. Add Details
• Label each symbol with a brief description of the step or decision. Ensure the text is clear and
concise.
• 7. Review and Refine
• Check your flowchart for accuracy. Make sure all steps are in the correct order
and that it’s easy to understand. Ask someone else to review it to catch any
mistakes or ambiguities.
• Example
• Imagine you’re creating a flowchart for a simple process, like “Making a Cup of
Tea”:
• Start (Oval)
• Boil Water (Rectangle)
• Water Boiled? (Diamond)
• If Yes, proceed to next step.
• If No, return to “Boil Water
•Add Tea Bag to Cup (Rectangle)
•Pour Boiled Water into Cup (Rectangle)
•Steep Tea (Rectangle)
•Tea Steeped? (Diamond)
•If Yes, proceed to next step.
•If No, return to “Steep Tea.”
•Remove Tea Bag (Rectangle)
•Add Sugar/Milk? (Diamond)
•If Yes, add sugar/milk and then End.
•If No, proceed to End.
THE
END

You might also like