KEMBAR78
Algorithm and Flowchart Example | PDF
0% found this document useful (0 votes)
5 views2 pages

Algorithm and Flowchart Example

An algorithm is a step-by-step procedure for solving a problem, characterized by clear steps and defined start and end points. A flowchart visually represents an algorithm using symbols to illustrate the flow of steps. Common flowchart symbols include terminal for start/end, process for tasks, decision for questions, and arrows for flow direction.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views2 pages

Algorithm and Flowchart Example

An algorithm is a step-by-step procedure for solving a problem, characterized by clear steps and defined start and end points. A flowchart visually represents an algorithm using symbols to illustrate the flow of steps. Common flowchart symbols include terminal for start/end, process for tasks, decision for questions, and arrows for flow direction.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Algorithm and Flowchart

What is an Algorithm?

An algorithm is a step-by-step procedure or set of instructions to solve a specific problem or perform a task.

Features of an Algorithm:

- Clear and simple steps

- Has a starting and ending point

- Solves a particular problem

What is a Flowchart?

A flowchart is a diagrammatic representation of an algorithm. It uses symbols like rectangles, ovals, and

diamonds to show the flow of steps.

Common Flowchart Symbols:

- Terminal: Start/End of the process

- Process: Task or instruction

- Decision: A yes/no or true/false question

- Arrow: Shows the flow of steps

Example: Add Two Numbers

Algorithm:

1. Start

2. Input number A

3. Input number B

4. Add A and B -> Store result in C

5. Display C

6. Stop

Flowchart:
Algorithm and Flowchart

Start

Input A

Input B

C=A+B

Display C

Stop

You might also like