Flowchart || Programming Basics

Home 👉 O level 👉 Python 👉 Unit 1


 Flowchart



जिस प्रकार अल्गोरिथम किसी सलूशन (या प्रक्रिया) के स्टेप्स को लिखित रूप में दर्शाते हैं उसी प्रकार फ्लोचार्ट किसी प्रॉब्लम के सलूशन (या प्रक्रिया) को चित्र के रूप में दर्शाते हैं।  फ्लोचार्ट यह भी दर्शाता है कि किस स्टेप को किस क्रम में लागू करना है। 

Just as algorithms represent the steps of a solution (or process) in written form, flowcharts represent the solution (or process) of a problem in pictorial form. The flowchart also shows which steps are to be implemented in which order.


फ़्लोचार्ट एक आरेख है जो किसी प्रक्रिया के चरणों को दर्शाता है। यह चरणों का क्रम दिखाने और वे एक-दूसरे से कैसे संबंधित हैं, यह दिखाने के लिए बक्से और तीरों का उपयोग करता है। फ़्लोचार्ट का उपयोग किसी भी प्रकार की प्रक्रिया का दस्तावेज़ीकरण करने के लिए किया जा सकता है, एक कप कॉफ़ी बनाने जैसे सरल कार्यों से लेकर नए सॉफ़्टवेयर उत्पाद विकसित करने जैसे जटिल कार्यों तक।

A flowchart is a diagram that shows the steps in a process. It uses boxes and arrows to show the order of the steps and how they are related to each other. Flowcharts can be used to document any kind of process, from simple tasks like making a cup of coffee to complex tasks like developing a new software product.


यदि दो संख्याओं का योग पता करना है तो -
  1. पहली संख्या पता करें 
  2. दूसरी संख्या पता करें 
  3. दोनों संख्यायों को जोड़ कर योग लिखें  
  4. योग बता दें
If you want to find the sum of two numbers, then -
  1. find the first number
  2. find the other number
  3. Add the two numbers and write the sum
  4. tell sum


उपरोक्त लिखे स्टेप्स एक अल्गोरिथम को दर्शाते हैं जो दो संख्याओं को जोड़ने के लिए है। 

The above mentioned steps show an algorithm to add two numbers.


ठीक उसी प्रकार :-
in the same :-


उपरोक्त चित्र एक फ्लोचार्ट है जो दो संख्याओं के योग के लिए है। 

The above figure is a flowchart for the addition of two numbers.


प्रक्रियाओं को समझने और दस्तावेजीकरण करने के लिए फ़्लोचार्ट एक बहुत उपयोगी उपकरण हो सकता है। उनका उपयोग किसी प्रक्रिया में संभावित समस्याओं की पहचान करने और सुधारों को डिज़ाइन करने के लिए भी किया जा सकता है।

Flowcharts can be a very helpful tool for understanding and documenting processes. They can also be used to identify potential problems in a process and to design improvements.


यदि आप किसी प्रक्रिया पर काम कर रहे हैं, तो मेरा सुझाव है कि आप इसे समझने और दस्तावेजीकरण करने में मदद के लिए एक फ़्लोचार्ट बनाएं। फ़्लोचार्ट एक सरल लेकिन शक्तिशाली उपकरण है जो आपकी प्रक्रियाओं को बेहतर बनाने में बहुत सहायक हो सकता है।

If you are working on a process, I recommend that you create a flowchart to help you understand and document it. Flowcharts are a simple but powerful tool that can be very helpful in improving your processes.


Flowlines and Symbols:-

फ्लोचार्ट में आकृतियों को सिम्बल्स कहते हैं जबकि रेखाएं फ्लोलाइन्स कहलाती हैं। 
Shapes in a flowchart are called symbols while lines are called flowlines.




Terminal Box:- 



इस चिन्ह का उपयोग फ्लोचार्ट के आरम्भ और अंत को दर्शाने के लिए किया जाता है। 

This symbol is used to indicate the beginning and end of the flowchart.


NOTE: किसी फ्लोचार्ट में केवल एक आरम्भ बॉक्स होता है। जब इस चिन्ह का उपयोग आरम्भ के लिए होता है तो कोई भी फ्लो लाइन इसके अंदर नहीं आ सकती और सिर्फ एक फ्लो लाइन इससे बाहर निकल सकती है।

There is only one start box in a flowchart. When this symbol is used for initiation, no flow line can enter it and only one flow line can exit it.

 



NOTE: जब इस चिन्ह का उपयोग अंत के लिए होता है तो कोई भी फ्लो लाइन इससे बाहर नहीं निकल सकती और सिर्फ फ्लो लाइन इसके अंदर आ सकती है। 

When this symbol is used for the end, no flow line can exit it and only flow line can enter it.




IO (Input/Output) Box:-



इस बॉक्स को एक समान्तर चतुर्भुज से दर्शाते हैं। यह चिन्ह एक इनपुट जैसे कीबोर्ड से डाटा लेना या आउटपुट जैसे मॉनिटर पर जानकारी देना आदि को दर्शाते हैं।
This box is represented by a parallelogram. These symbols represent an input, such as receiving data from the keyboard, or an output, such as giving information to the monitor.

उदाहरण के लिए -

For example -





Process Box:-



यह बॉक्स आयताकार होता है। यह एक प्रक्रिया जैसे योग, गुणा, भाग या किसी मान को रखना आदि को दर्शाने के लिए उपयोग किया जाता है।  

This box is rectangular. It is used to denote a process like addition, multiplication, division or placing of a value etc.


उदाहरण के लिए -

For example -





Decision Box:-


इस बॉक्स को सम चतुर्भुज से दर्शाते हैं। इसका उपयोग दो मानों की तुलना करने ( जैसे दोनों में बड़ा, छोटा, बराबर, बड़ा या बराबर, छोटा या बराबर, बराबर नहीं ) और तुलना के आधार पर निर्णय लेने ( जैसे यदि मान बड़ा है तो आगे क्या करना है या मान बराबर है तो क्या करना है ) के लिए किया जाता है। 

This box is denoted by a rhombus. It is used to compare two values (e.g. greater, smaller, equal, greater or equal to both, smaller or equal, not equal) and to make decisions based on the comparison (e.g. what to do next if the value is greater or the value is equal). So what to do ) is done for.


NOTE यह बॉक्स दो विकल्प दर्शाता है यदि तुलना करने की शर्त सही साबित होती है तो सही वाला विकल्प चुनना होता है अन्यथा गलत विकल्प चुनना होता है। 

This box shows two options, if the condition to be compared is true, then the correct option has to be selected, otherwise the incorrect option has to be selected.


उदाहरण के लिए -

For example -




यदि x का मान y से बड़ा है तो हाँ (YES) की तरफ आगे बढ़िए अन्यथा नहीं (NO) की तरफ। 

If the value of x is greater than y then proceed to YES otherwise proceed to NO.


फ़्लोचार्ट का उपयोग करने के कुछ लाभ यहां दिए गए हैं:

  • वे आपको किसी प्रक्रिया की कल्पना करने और समझने में मदद कर सकते हैं।
  • वे किसी प्रक्रिया में संभावित बाधाओं या समस्याओं की पहचान करने में आपकी सहायता कर सकते हैं।
  • वे किसी प्रक्रिया को दूसरों तक संप्रेषित करने में आपकी सहायता कर सकते हैं।
  • वे किसी प्रक्रिया का दस्तावेजीकरण करने में आपकी सहायता कर सकते हैं ताकि भविष्य में इसे दोहराया जा सके या सुधारा जा सके।

Here are some of the benefits of using flowcharts:

  • They can help you to visualize and understand a process.
  • They can help you to identify potential bottlenecks or problems in a process.
  • They can help you to communicate a process to others.
  • They can help you to document a process so that it can be repeated or improved in the future.


-:More Topics:-



---END---

Comments