FLOW CHART
Flow Chart in Computer Programming (Complete Guide)
What is a Flow Chart?
A flowchart is a graphical or pictorial representation of an algorithm or process. It uses different symbols to represent steps such as input, output, processing, and decision-making.
Flowcharts are widely used in computer programming, system design, and problem-solving because they make complex logic easy to understand.
Why are Flowcharts Important?
Flowcharts provide several benefits:
- They help programmers focus on the logic of the problem without worrying about programming syntax.
- They make it easier to detect logical errors before writing code.
- They improve communication between developers and non-technical people.
- They act as a blueprint for writing efficient programs.
- They simplify debugging and maintenance.
Basic Flowchart Symbols and Their Meaning
Here are the most commonly used symbols:
- Oval (Terminator) → Represents Start/End
- Parallelogram → Input/Output operation
- Rectangle → Processing step (calculation)
- Diamond → Decision making (Yes/No)
- Arrow → Flow of control
Example 1: Flowchart to Find Sum of Two Numbers
Steps:
- Start
- Input two numbers (A and B)
- Calculate Sum = A + B
- Display Sum
- End
Explanation:
This flowchart takes two inputs, performs addition, and shows the result.
Example 2: Flowchart to Check Even or Odd Number
Steps:
- Start
- Input number (N)
- Check if N % 2 == 0
- If Yes → Print "Even"
- If No → Print "Odd"
- End
Explanation:
The decision symbol is used here to check whether the number is divisible by 2.
Tips to Create Good Flowcharts
- Always start from "Start" and end with "End".
- Keep the flow from top to bottom or left to right.
- Use proper symbols for each step.
- Avoid crossing lines to keep it clean.
- Make it simple and easy to understand.
Basic flow chart symbol, shape and purpose:-
Q. Create a flow chart to find the sum of two numbers.
Ans:-
Q. create a flow chart to check the input number
is even or odd.
Ans:-
Conclusion
Flowcharts are a powerful tool for planning and understanding programs. They help reduce errors, improve clarity, and make coding easier. Every beginner in programming should learn how to create and use flowcharts effectively.



Comments
Post a Comment
Hello students
If you have any doubt then let me know.