BCA / B.Tech 8 min read

Flowcharts in Hindi

RK

लेखक Ratan Kumawat · संस्थापक, NotesMedia

प्रकाशित:

त्वरित सारांश और मुख्य बिंदु

  • • विषय फोकस: C Language Notes in Hindi | C language के नोट्स हिंदी में (BCA / B.Tech Syllabus)
  • • मुख्य विषय: Flowcharts in Hindi - General Topics
  • • अवलोकन: Quick Answer: Flowchart kisi program ya algorithm ke logic ka graphical ya diagrammatic representation (चित्रमय प्रस्तुति) hota hai. C programming mein ...
  • • मुख्य अवधारणाएं: Flowcharts, Algorithm representation symbols types Hindi, Drawing tools flowcharts,Flowcharts, Algorithm representation symbols types, Drawing tools flowcharts
Quick Answer: Flowchart kisi program ya algorithm ke logic ka graphical ya diagrammatic representation (चित्रमय प्रस्तुति) hota hai. C programming mein code likhne se pehle problem solving logic ko clear karne ke liye flowchart banaya jaata hai. Isme standard geometric shapes jaise Oval (Start/Stop), Parallelogram (Input/Output), Rectangle (Process), aur Diamond (Decision) use hote hain jo arrows (flowlines) se jude rehte hain.

C Language mein Flowchart kya hai aur iska Mahatva

Jab bhi hum kisi problem ko computer program ke through solve karte hain, toh direct code likhne se logic mistakes hone ka chance rehta hai. Isiliye pehle step-by-step algorithm likha jaata hai aur phir use visual diagram mein badla jaata hai jise Flowchart kehte hain. Algorithm ke concepts samajhne ke liye hamare Algorithm in C notes padhein.

C programming mein flowchart use karne ke mukhya fayde:

  • Visual Logic Clarity: Program ka execution flow (sequential, branching, looping) aankhon ke saamne clear dikhta hai.
  • Easy Debugging: Code likhne se pehle hi logic ki galtiyan pakad mein aa jaati hain.
  • Effective Communication: Non-programmers aur team members ko program ka working structure samjhana aasan hota hai.
  • Program Documentation: Future reference aur maintenance ke liye blueprint ka kaam karta hai.
Advertisement

Standard Flowchart Symbols aur unka Use

ANSI (American National Standards Institute) ne flowchart banane ke liye kuch standard shapes define kiye hain. C language mein program logic represent karne ke liye inhi symbols ka use hota hai:

Symbol Shape Symbol Name Purpose / Meaning in C Example Operation
Oval / Rounded Rectangle Terminal Box Program ki shuruat (Start) aur ant (Stop/End) ko darshata hai. Start ya End
Parallelogram (समानांतर चतुर्भुज) Input / Output Box User se data input lene (scanf) aur screen par output dikhane (printf) ke liye. Input A, B ya Print Sum
Rectangle (आयत) Process Box Arithmetic calculations, calculations aur data manipulation operations ke liye. sum = a + b ya count = 0
Diamond (काजू कतली / समचतुर्भुज) Decision Box Conditional statements (if, if-else) jahan True/False ya Yes/No decision lena ho. Is A > B?
Arrows (Flowlines) Flowlines Execution ki direction aur flow order ko connect karta hai. Top-to-bottom ya Left-to-right flow
Small Circle On-Page Connector Jab flowchart complex ho ya ek jagah se doosri jagah lines cross ho rahi hon, toh same page par connect karne ke liye. Connector tag A
Pentagon Off-Page Connector Jab flowchart ek page par poora na aaye aur next page par continue ho raha ho. Page break continuation

C Programming ke Control Structures aur Flowchart

C language mein flowcharts teen mukhya programming structures par based hote hain:

  1. Sequential Flow: Instructions ek ke baad ek straight line mein execute hoti hain bina kisi condition ya jump ke (jaise simple addition, area calculation).
  2. Decision / Selection Flow: Condition check hone par execution alag-alag branches mein divide ho jaata hai. Ise samajhne ke liye Control Statements in C note zaroor dekhein.
  3. Looping / Iterative Flow: Jab tak koi condition true rehti hai, tab tak steps ka block baar-baar repeat hota rehta hai (jaise for, while, do-while loops).

Example 1: Do Numbers ka Sum karne ka Flowchart (Sequential)

Neeche do numbers ko input lekar unka sum calculate aur display karne ka standard sequential flowchart aur uska C code diya gaya hai:

Algorithm Steps:

  1. Start: Program start karein.
  2. Input: User se do numbers A aur B input lein.
  3. Process: Calculation karein: Sum = A + B.
  4. Output: Sum ko screen par print karein.
  5. Stop: Program end karein.
Flowcharts in Hindi

Normal sequential flowchart for adding two numbers in C language

Corresponding C Program Code:

#include <stdio.h>

int main() {
    int num1, num2, total;

    // Input
    printf("Enter two numbers: ");
    scanf("%d %d", &num1, &num2);

    // Process
    total = num1 + num2;

    // Output
    printf("Sum = %d\n", total);

    return 0;
}

Example 2: Number Positive, Negative ya Zero Check karne ka Flowchart (Decision Making)

Jab hume check karna ho ki entered number positive hai, negative hai ya zero hai, tab hum Decision Box (Diamond) ka use karte hain:

Algorithm Steps:

  1. Start: Program start karein.
  2. Input: Number N input lein.
  3. Decision 1: Check karein kya N > 0?
    • Agar Yes, toh print karein "Positive" aur End par jayein.
    • Agar No, toh Decision 2 par jayein.
  4. Decision 2: Check karein kya N < 0?
    • Agar Yes, toh print karein "Negative" aur End par jayein.
    • Agar No, toh print karein "Zero" aur End par jayein.
  5. Stop: Program end karein.
Flowcharts in Hindi

Decision-making conditional flowchart for checking positive, negative, or zero

Corresponding C Program Code:

#include <stdio.h>

int main() {
    int number;

    printf("Enter an integer: ");
    scanf("%d", &number);

    if (number > 0) {
        printf("%d is Positive\n", number);
    } else if (number < 0) {
        printf("%d is Negative\n", number);
    } else {
        printf("The number is Zero\n");
    }

    return 0;
}
Advertisement

Comparison Table: Flowchart vs Algorithm

Programming logic represent karne ke liye Algorithm aur Flowchart dono basic tools hain. Dono ke mukhya antar neeche diye gaye table mein dekhein:

Comparison Parameter Algorithm Flowchart
Representation Form Textual (sadharan English/Hindi bhasha mein step-by-step likha jaata hai). Graphical / Diagrammatic (geometric shapes aur symbols se banta hai).
Understanding Level Lamba text padhna padta hai, logic branch samajhne mein time lagta hai. Arrows dekhkar visual flow ko instantly samjha ja sakta hai.
Modifications / Changes Text edit karna aasan hota hai. Agar logic mein change aaye toh poora diagram fir se redraw karna pad sakta hai.
Debugging Text mein dry-run karke logic trace karna thoda kathin hota hai. Symbols aur lines ke sahare branching errors pakadna bahut aasan hota hai.
Creation Rules Koi strict graphical rules nahi hote, clear steps likhne hote hain. Standard ANSI symbols aur flowline directions ke strict rules follow karne hote hain.

Flowchart banane ke Rules aur Best Practices

  • Flowchart hamesha top-to-bottom ya left-to-right direction mein flow karna chahiye.
  • Har flowchart mein sirf ek hi Start symbol aur kam se kam ek End/Stop symbol hona chahiye.
  • Decision box (Diamond) mein se hamesha kam se kam do exit lines (True aur False) nikalni chahiye.
  • Process box (Rectangle) mein ek hi incoming line aur ek hi outgoing line honi chahiye.
  • Flow lines ko aapas mein cross karne se bachein. Agar lines cross ho rahi hon toh Connector symbol ka use karein.

Common Mistakes to Avoid

  • Input/Output ke liye Rectangle use karna galat hai; Input/Output ke liye hamesha Parallelogram hi banayein.
  • Decision box ke bahar True aur False (ya Yes/No) label likhna bhool jaana sabse common student mistake hai. Bina labels ke reader ko nahi pata chalega kaunsi branch kab execute hogi.
  • Start aur End ke liye Rectangle banana galat hai; hamesha Oval ya Rounded Rectangle use karein.

Exam के लिए Important Questions

Short Questions (2-3 marks)

  1. Flowchart mein Parallelogram aur Rectangle symbols ke purpose mein kya antar hai?
  2. Decision symbol (Diamond) ka syntax aur branching rules kya hote hain?
  3. Flowchart mein Connector symbol ka use kab aur kyon kiya jaata hai?
  4. Sequential flowchart aur Conditional flowchart mein kya bhed hota hai?

Long Questions (5-10 marks)

  1. Flowchart kya hai? Iske sabhi standard ANSI symbols ko neat diagram banakar unke functions samjhaiye.
  2. Algorithm aur Flowchart ke beech tulnatmak antar (comparison) spasht kijiye. Kisi ek problem ke liye algorithm aur flowchart dono banakar dikhaiye.
  3. Looping structure (jaise 1 se 10 tak numbers print karna) ke liye ek complete flowchart draw kijiye aur uska C language code likhiye.

Frequently Asked Questions (FAQs)

Kya kisi program mein multiple Stop symbols ho sakte hain?

Ideal standard practice yahi hai ki ek hi Stop symbol ho jahan saare branches aakar terminate hon, lekin complex conditional logic mein clarity ke liye alag-alag exit points par Stop use kiya ja sakta hai.

Flowchart banane ke liye computer mein kaunse tools use hote hain?

Modern software development mein Draw.io, Lucidchart, Microsoft Visio aur Canva jaise digital tools flowchart banane ke liye widely use hote hain.

Kya bina flowchart banaye C language mein code likha ja sakta hai?

Haan, chhote simple programs ke liye direct code likha ja sakta hai, lekin complex enterprise logic aur university practical exams mein flowchart banana mandatory step hota hai.

Off-page connector aur On-page connector mein kya farq hai?

On-page connector (chhota circle) same page par do alag-alag points ko jodne ke liye use hota hai, jabki off-page connector (pentagon) ek page se doosre page par flow continue karne ke liye use hota hai.

अक्सर पूछे जाने वाले प्रश्न (FAQs)

Quick Answer: Flowchart kisi program ya algorithm ke logic ka graphical ya diagrammatic representation (चित्रमय प्रस्तुति) hota hai.
C Language Notes in Hindi | C language के नोट्स हिंदी में के पाठ्यक्रम में Flowcharts in Hindi एक महत्वपूर्ण अध्याय है। यह मुख्य सिद्धांतों, परीक्षा प्रश्नों और सूत्रों को समझने के लिए अत्यधिक आवश्यक है।
हाँ, NotesMedia पर आपको Flowcharts in Hindi के महत्वपूर्ण प्रश्नोत्तर, हल किए गए उदाहरण और नोट्स बिल्कुल मुफ्त मिलेंगे। अधिक अभ्यास के लिए आप हमारा ऐप भी डाउनलोड कर सकते हैं।
Advertisement