Decision Symbol (डिसीजन सिंबल) :-

Decision Symbol का उपयोग फ्लोचार्ट में निर्णय (Decision), शर्त (Condition) या तुलना (Comparison) को दर्शाने के लिए किया जाता है। जब किसी प्रोग्राम में किसी Condition की जाँच करनी होती है, जैसे यदि (If), अन्यथा (Else), Yes/No, True/False, तब Decision Symbol का प्रयोग किया जाता है।
निर्णय के परिणाम के आधार पर प्रोग्राम दो या अधिक अलग-अलग मार्ग (Branches) में आगे बढ़ सकता है।
इसका आकार हीरे (Diamond) के समान होता है।
English
The Decision Symbol is used in a flowchart to represent a decision, condition, or comparison. It is used whenever a program needs to test a condition, such as If–Else, Yes/No, or True/False.
Based on the result of the condition, the program follows two or more different branches.
Its shape is a Diamond.
Rules (महत्वपूर्ण नियम) :-
- Decision Symbol का आकार हमेशा हीरे (Diamond) के समान होता है। / The Decision Symbol is always drawn as a Diamond.
- इसका उपयोग निर्णय (Decision), शर्त (Condition) तथा तुलना (Comparison) के लिए किया जाता है। / It is used to represent decisions, conditions, and comparisons.
- सामान्यतः इसमें एक Flow Line प्रवेश करती है। / Normally, one flow line enters the Decision Symbol.
- इसमें से दो या अधिक Flow Lines बाहर निकल सकती हैं। / Two or more flow lines may leave the Decision Symbol.
- बाहर जाने वाली प्रत्येक Flow Line पर Yes/No, True/False या Condition का परिणाम लिखा जाना चाहिए। / Each outgoing flow line should be labeled with Yes/No, True/False, or the condition result.
- Decision Symbol के अंदर केवल Condition या Comparison लिखी जाती है, कोई Calculation नहीं। / Only a condition or comparison is written inside the Decision Symbol, not a calculation.
- प्रत्येक Decision के बाद संबंधित Process या Output Symbol का उपयोग किया जाना चाहिए। / After every decision, the appropriate Process or Output Symbol should be used.
- अनावश्यक Decision Symbols का उपयोग नहीं करना चाहिए। / Avoid using unnecessary Decision Symbols in a flowchart.
Uses (उपयोग) :-
- यदि–अन्यथा (If–Else) के लिए। / Used for If–Else statements.
- Yes/No निर्णय के लिए। / Used for Yes/No decisions.
- True/False Condition की जाँच के लिए। / Used for True/False conditions.
- संख्या सम या विषम (Even/Odd) जाँचने के लिए। / Used for Even/Odd number checking.
- पास/फेल (Pass/Fail) निर्णय के लिए। / Used for Pass/Fail decisions.
- आयु जाँचना (Age ≥ 18) के लिए। / Used for Age verification (Age ≥ 18).
- तुलना (>, <, =, ≥, ≤) करने के लिए। / Used for comparisons (>, <, =, ≥, ≤).