BCA SCHOOL
Programming Tutorials • Notes • Practical • Books
LATEST TUTORIALS

Basics of Flowchart – BKNMU Junagadh | BCA Sem 1 Notes

by BCA School



BCA Sem 1  |  Unit 1  |  Computer Concepts & C Programming

Basics of Flowchart — BKNMU Junagadh

Definition, Importance, Standard Symbols (Shapes), Rules, Advantages & Disadvantages

BKNMU Junagadh NEP 2020 Flowchart Visual Algorithm Problem Solving
In simple words: A Flowchart is a graphical or diagrammatic representation of an **Algorithm**. It uses standard geometric shapes (like ovals, rectangles, and diamonds) connected by arrows to visualize the step-by-step logic and sequence required to solve a problem before actual coding begins.
📖 What Makes a Flowchart?

To master problem-solving in BCA, you must understand the three core aspects of flowcharting:

Geometric Shapes

1. Standard Symbols

Uses uniform geometric shapes predefined by **ANSI** rules. Each shape represents a specific type of operation.

Arrows / Flowlines

2. Flow Direction

Connects shapes to indicate the precise order and direction in which instructions are executed.

Logical Branching

3. Decision Making

Clearly visualizes conditional logic (e.g., IF-ELSE), showing the system's choice-based paths.

1️⃣ Master Table of ANSI Flowchart Symbols & Their Meanings

Here is the definitive guide to standard flowchart symbols used in C programming logic design:

SymbolShape NameDescription / ApplicationFlow Rule
OvalTerminal SymbolIndicates the logical START or END point of the flowchart logic.One flowline (In for END; Out for START).
RectangleProcess SymbolRepresents internal processing, calculations, or variable initialization steps.One flowline in, one flowline out.
ParallelogramInput / Output SymbolRepresents instructions that read data from input or display data to output.One flowline in, one flowline out.
DiamondDecision SymbolUsed for conditional checks (True/False or Yes/No) where the path splits based on a Boolean result.One flowline in, two (or more) flowlines out.
Small CircleConnector SymbolUsed to connect different parts of a complex flowchart, often on the same page, to improve readability.One flowline in, one flowline out.
ArrowsFlowlines SymbolConnects standard shapes to indicate the precise sequence of operations.Connects any two standard symbols.
ℹ️ Design Rule on Decision Diamonds: Every decision diamond MUST have exactly one incoming flowline and must branching into **at least two outgoing flowlines** (labeled 'Yes'/'True' and 'No'/'False'). Failing to label decision paths is a common logical error!
🎨 Visualizing the Logic Pipeline

The Structure of a Simple Flowchart:

START (Oval) INPUT (Parallelogram) PROCESS / DECISION END (Oval)

Arrows must maintain a logical, single direction from START to END, typically following a top-to-bottom or left-to-right flow pattern.

🔄 Standard Rules for Constructing Flowcharts
1

Maintain Logical Flow Direction

Ensure flowlines generally move from top to bottom or left to right. Avoid unnecessary flowline crossings.

2

Use Standard ANSI Symbols Only

Never create custom shapes! Only use the predefined geometric shapes (Oval, Rectangle, Diamond, etc.) understood universally.

3

Label Decision Paths Clearly

Always label the outgoing paths from a Decision diamond with **Yes/True** and **No/False** based on the condition result.

4

Keep Logic Concise and Terminated

Use simple, non-syntax specific statements inside shapes. Crucially, the flowchart must always terminate at an END symbol.

🔍 Advantages vs. Disadvantages of Flowcharts
Advantages
  • Better communication: Complex logic is easier to understand visually.
  • Efficient analysis: Simplifies the debugging process by tracking logic paths.
  • Effective documentation: Acts as a logical blueprint for the actual C program code.
  • Debugging aid: Helps identify logical flaws before coding begins.
Disadvantages
  • Time-consuming to draw for large, complex programs.
  • Difficult to modify: Changing logic often requires completely redrawing the chart.
  • Complexity increases exponentially with the size of the program logic.
  • Not ideal for highly recursive or parallel logic designs.
💡 Exam Tip: When asked to differentiate, remember that an **Algorithm** is a textual step-by-step method, while a **Flowchart** is its visual diagrammatic representation. Always include the standard table of shapes with their names and meanings!
⚠️ Infinite Loops: A common logical error occurs when a Decision path creates a loop that never satisfies a termination condition. Your flowchart MUST always have a clear, distinct path to the **END (Oval)** symbol!
📝 Quick Revision — Key Exam Points
  • Definition: Graphical/diagrammatic representation of an algorithm.
  • Standards: Predefined ANSI standard geometric shapes are universally understood.
  • Flowlines: Connect shapes to indicate logical execution sequence and direction.
  • Shapes to Remember: Terminal (START/END), Process (Calculation), I/O, Decision (Branching).
  • Main Goal: To visualize logic and sequence before actual C programming coding starts.
  • Rule of Termination: Every valid flowchart must strictly conclude at an END symbol.