{"id":181,"date":"2023-05-16T11:40:59","date_gmt":"2023-05-16T11:40:59","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.com\/?p=181"},"modified":"2023-05-16T11:40:59","modified_gmt":"2023-05-16T11:40:59","slug":"flow-charts","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2023\/05\/16\/flow-charts\/","title":{"rendered":"Flow charts"},"content":{"rendered":"\n<h3 class=\"wp-block-heading\"><strong>What is a Flowchart?<\/strong>&nbsp;<\/h3>\n\n\n\n<p>Flowchart is a graphical representation of an algorithm. Programmers often use it as a program-planning tool to solve a problem. It makes use of symbols which are connected among them to indicate the flow of information and processing.&nbsp;<\/p>\n\n\n\n<p>The process of drawing a flowchart for an algorithm is known as \u201cflowcharting\u201d.<\/p>\n\n\n\n<p><strong>Basic Symbols used in Flowchart Designs<\/strong><\/p>\n\n\n\n<ol>\n<li><strong>Terminal<\/strong>: The oval symbol indicates Start, Stop and Halt in a program\u2019s logic flow. A pause\/halt is generally used in a program logic under some error conditions.Terminal is the first and last symbols in the flowchart.&nbsp;<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"538\" height=\"258\" src=\"https:\/\/itnotes.apjsoftwares.com\/wp-content\/uploads\/2023\/05\/image-15.png\" alt=\"\" class=\"wp-image-183\" srcset=\"https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-15.png 538w, https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-15-300x144.png 300w\" sizes=\"(max-width: 538px) 100vw, 538px\" \/><\/figure>\n\n\n\n<p><strong>Input\/Output<\/strong>: A parallelogram denotes any function of input\/output type. Program instructions that take input from input devices and display output on output devices are indicated with parallelogram in a flowchart.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"518\" height=\"208\" src=\"https:\/\/itnotes.apjsoftwares.com\/wp-content\/uploads\/2023\/05\/image-14.png\" alt=\"\" class=\"wp-image-182\" srcset=\"https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-14.png 518w, https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-14-300x120.png 300w\" sizes=\"(max-width: 518px) 100vw, 518px\" \/><\/figure>\n\n\n\n<p><strong>Processing<\/strong>: A box represents arithmetic instructions. All arithmetic processes such as adding, subtracting, multiplication and division are indicated by action or process symbol.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"518\" height=\"208\" src=\"https:\/\/itnotes.apjsoftwares.com\/wp-content\/uploads\/2023\/05\/image-18.png\" alt=\"\" class=\"wp-image-186\" srcset=\"https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-18.png 518w, https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-18-300x120.png 300w\" sizes=\"(max-width: 518px) 100vw, 518px\" \/><\/figure>\n\n\n\n<p><strong>Decision<\/strong> Diamond symbol represents a decision point. Decision based operations such as yes\/no question or true\/false are indicated by diamond in flowchart.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"518\" height=\"208\" src=\"https:\/\/itnotes.apjsoftwares.com\/wp-content\/uploads\/2023\/05\/image-17.png\" alt=\"\" class=\"wp-image-185\" srcset=\"https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-17.png 518w, https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-17-300x120.png 300w\" sizes=\"(max-width: 518px) 100vw, 518px\" \/><\/figure>\n\n\n\n<p><strong>Connectors<\/strong>: Whenever flowchart becomes complex or it spreads over more than one page, it is useful to use connectors to avoid any confusions. It is represented by a circle.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" loading=\"lazy\" width=\"518\" height=\"208\" src=\"https:\/\/itnotes.apjsoftwares.com\/wp-content\/uploads\/2023\/05\/image-16.png\" alt=\"\" class=\"wp-image-184\" srcset=\"https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-16.png 518w, https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-16-300x120.png 300w\" sizes=\"(max-width: 518px) 100vw, 518px\" \/><\/figure>\n\n\n\n<p><strong>Flow lines<\/strong>: Flow lines indicate the exact sequence in which instructions are executed. Arrows represent the direction of flow of control and relationship among different symbols of flowchart.&nbsp;<\/p>\n\n\n\n<p><strong>Rules For Creating Flowchart :<\/strong><\/p>\n\n\n\n<p>A flowchart is a graphical representation of an algorithm.it should follow some rules while creating a flowchart<\/p>\n\n\n\n<p><strong>Rule 1:<\/strong> Flowchart opening statement must be \u2018start\u2019 keyword.<\/p>\n\n\n\n<p><strong>Rule 2:<\/strong>&nbsp; Flowchart ending statement must be \u2018end\u2019 keyword.<\/p>\n\n\n\n<p><strong>Rule 3:<\/strong> All symbols in the flowchart must be connected with an arrow line.<\/p>\n\n\n\n<p><strong>Rule 4:<\/strong> The decision symbol in the flowchart cannot be associated with the arrow line.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Advantages of Flowchart:<\/strong><\/h3>\n\n\n\n<ul>\n<li>Flowcharts are a better way of communicating the logic of the system.<\/li>\n\n\n\n<li>Flowcharts act as a guide for blueprint during program design.<\/li>\n\n\n\n<li>Flowcharts help in the debugging process.<\/li>\n\n\n\n<li>With the help of flowcharts programs can be easily analysed.<\/li>\n\n\n\n<li>It provides better documentation.<\/li>\n\n\n\n<li>Flowcharts serve as a good proper documentation.<\/li>\n\n\n\n<li>Easy to trace errors in the software.<\/li>\n\n\n\n<li>Easy to understand.<\/li>\n\n\n\n<li>The flowchart can be reused for inconvenience in the future.<\/li>\n\n\n\n<li>It helps to provide correct logic.<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Disadvantages of Flowchart:<\/strong><\/h3>\n\n\n\n<ul>\n<li>It is difficult to draw flowcharts for large and complex programs.<\/li>\n\n\n\n<li>There is no standard to determine the amount of detail.<\/li>\n\n\n\n<li>Difficult to reproduce the flowcharts.<\/li>\n\n\n\n<li>It is very difficult to modify the Flowchart.<\/li>\n\n\n\n<li>Making a flowchart is costly.<\/li>\n\n\n\n<li>Some developers think that it is a waste of time.<\/li>\n\n\n\n<li>It makes software processes low.<\/li>\n\n\n\n<li>If changes are done in software, then the flowchart must be redrawn<\/li>\n<\/ul>\n\n\n\n<p><strong>Example<\/strong> : Draw a flowchart to input two numbers from the user and display the largest of two numbers&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" loading=\"lazy\" width=\"647\" height=\"1024\" src=\"https:\/\/itnotes.apjsoftwares.com\/wp-content\/uploads\/2023\/05\/image-19-647x1024.png\" alt=\"\" class=\"wp-image-187\" srcset=\"https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-19-647x1024.png 647w, https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-19-189x300.png 189w, https:\/\/itnotes.apjsoftwares.in\/wp-content\/uploads\/2023\/05\/image-19.png 682w\" sizes=\"(max-width: 647px) 100vw, 647px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>What is a Flowchart?&nbsp; Flowchart is a graphical representation of an algorithm. Programmers often use&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[7],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/181"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":188,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/181\/revisions\/188"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}