{"id":4666,"date":"2018-10-08T06:24:55","date_gmt":"2018-10-08T06:24:55","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=4666"},"modified":"2024-08-09T07:05:31","modified_gmt":"2024-08-09T07:05:31","slug":"how-to-use-selection-symbol-in-raptor-flowchart","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/how-to-use-selection-symbol-in-raptor-flowchart\/","title":{"rendered":"How to use selection symbol in Raptor flowchart"},"content":{"rendered":"<h2>How to use selection symbol in Raptor flowchart<\/h2>\n<p>The selection symbol in the Raptor flowchart is used for decision making. <!--kadov_tag{{<spaces>}}--> It is a diamond-like structure with two branches. <!--kadov_tag{{<\/spaces>}}--> Based on the expression in the diamond box, the control of the program will branch either left or right.<\/p>\n<ul>\n<li><strong>Left -&gt; (Yes\/ True)<\/strong><\/li>\n<li><strong>Right -&gt; (No\/ False)<\/strong><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4671\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol.png\" alt=\"Selection Symbol\" width=\"1598\" height=\"862\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol.png 1598w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-300x162.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-1024x552.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-768x414.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-1536x829.png 1536w\" sizes=\"auto, (max-width: 1598px) 100vw, 1598px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>How to add Selection Symbol<\/h3>\n<p>We can add the selection structure to the flowchart in multiple ways.<\/p>\n<p>Drag and drop the symbol from the Symbols pane to the flowchart workspace.<\/p>\n<p>Right-click on the <strong>workspace &gt;&gt; Insert selection<\/strong><\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4677\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Insert-Selection.png\" alt=\"Insert Selection\" width=\"1406\" height=\"768\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Insert-Selection.png 1406w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Insert-Selection-300x164.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Insert-Selection-1024x559.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Insert-Selection-768x420.png 768w\" sizes=\"auto, (max-width: 1406px) 100vw, 1406px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Nested Selection<\/h3>\n<p>We can nest many selection symbols when we make multiple decisions in the flowcharts.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4680\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Nested-Selections.png\" alt=\"Nested Selections\" width=\"1589\" height=\"867\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Nested-Selections.png 1589w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Nested-Selections-300x164.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Nested-Selections-1024x559.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Nested-Selections-768x419.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Nested-Selections-1536x838.png 1536w\" sizes=\"auto, (max-width: 1589px) 100vw, 1589px\" \/><\/p>\n<h3>Sample Usage<\/h3>\n<p>Let&#8217;s see a sample usage of the flowchart using the <strong>Selection<\/strong> symbol.<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4681\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-in-Flowchart.png\" alt=\"Selection Symbol in Flowchart\" width=\"1702\" height=\"832\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-in-Flowchart.png 1702w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-in-Flowchart-300x147.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-in-Flowchart-1024x501.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-in-Flowchart-768x375.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Selection-Symbol-in-Flowchart-1536x751.png 1536w\" sizes=\"auto, (max-width: 1702px) 100vw, 1702px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h3>Pseudocode<\/h3>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\">START\r\nDECLARE x,y\r\n\r\nPROMPT \"Input x\"\r\nINPUT x\r\nPROMPT \"Input y\"\r\nINPUT y\r\nPRINT \"x=\" + x\r\nPRINT \"y=\" + y\r\n\r\nIF x &gt; y THEN\r\n    PRINT x + \" &gt; \" + y\r\nELSE\r\n   IF x = y THEN\r\n      PRINT x + \" = \" + y\r\n   ELSE\r\n      PRINT x + \" &lt; \" + y\r\n   END IF\r\nEND IF\r\nEND<\/pre>\n<h3>Common mistake<\/h3>\n<p>A common mistake when adding a selection structure to flowchart is to miss the selection condition. This would result in Error. We need to add the condition to the flowchart so that the logic would decide which path to take based on the condition.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-4804\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/NO-selection-condition.png\" alt=\"No selection condition\" width=\"1559\" height=\"940\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/NO-selection-condition.png 1559w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/NO-selection-condition-300x181.png 300w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/NO-selection-condition-1024x617.png 1024w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/NO-selection-condition-768x463.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/NO-selection-condition-1536x926.png 1536w\" sizes=\"auto, (max-width: 1559px) 100vw, 1559px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>RAPTOR Tutorial Page: <strong><a href=\"https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/\">https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/<\/a><\/strong><\/p>\n<p>RAPTOR official website: <a href=\"https:\/\/raptor.martincarlisle.com\/\" rel=\"noopener\">https:\/\/raptor.martincarlisle.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to use selection symbol in Raptor flowchart The selection symbol in the Raptor flowchart is used for decision making. It is a diamond-like structure with two branches. Based on the expression in the diamond box, the control of the program will branch either left or right. Left -&gt; (Yes\/ True) Right -&gt; (No\/ False) [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[187],"tags":[19],"class_list":["post-4666","post","type-post","status-publish","format-standard","hentry","category-flowchart","tag-raptor","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"_links":{"self":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/comments?post=4666"}],"version-history":[{"count":6,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4666\/revisions"}],"predecessor-version":[{"id":23759,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/4666\/revisions\/23759"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=4666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=4666"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=4666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}