{"id":5971,"date":"2017-01-06T02:49:46","date_gmt":"2017-01-06T02:49:46","guid":{"rendered":"https:\/\/www.testingdocs.com\/questions\/?p=5971"},"modified":"2024-09-04T07:33:57","modified_gmt":"2024-09-04T07:33:57","slug":"parallel-arrays-using-raptor-flowchart","status":"publish","type":"post","link":"https:\/\/www.testingdocs.com\/questions\/parallel-arrays-using-raptor-flowchart\/","title":{"rendered":"Parallel Arrays using RAPTOR flowchart"},"content":{"rendered":"<h2>Parallel Arrays using RAPTOR flowchart<\/h2>\n<p>Parallel arrays are the use of two or more arrays to store multiple data values for individual objects or entities. Parallel arrays allow us to keep track of multiple types of data for a given object.<\/p>\n<h3>Parallel Arrays<\/h3>\n<p>We use the index of the arrays to relate and identify the objects in the array. All the arrays should be of the same size. We can use the same loop to read and print the elements of the arrays.<\/p>\n<p>For example, if we want to represent 5 points x, y coordinates in XY plane. We can use two parallel arrays of size 5.<\/p>\n<p>x Array to store, x coordinate values.<\/p>\n<p>y Array to store, y coordinate values<\/p>\n<p>&nbsp;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-18785\" src=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Parallel-arrays-Raptor.png\" alt=\"Parallel arrays Raptor\" width=\"877\" height=\"2267\" title=\"\" srcset=\"https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Parallel-arrays-Raptor.png 877w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Parallel-arrays-Raptor-116x300.png 116w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Parallel-arrays-Raptor-396x1024.png 396w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Parallel-arrays-Raptor-768x1985.png 768w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Parallel-arrays-Raptor-594x1536.png 594w, https:\/\/www.testingdocs.com\/questions\/wp-content\/uploads\/Parallel-arrays-Raptor-792x2048.png 792w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><\/p>\n<h3>Sample Output<\/h3>\n<p>Points =<br \/>\nPoint 1= [2,3]<br \/>\nPoint 2= [3,4]<br \/>\nPoint 3= [5,6]<br \/>\nPoint 4= [7,8]<br \/>\nPoint 5= [9,10]<\/p>\n<p>Raptor Tutorials on this website can be found at:<\/p>\n<p><a href=\"https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>https:\/\/www.testingdocs.com\/raptor-a-flowchart-tool\/<\/strong><\/a><\/p>\n<p>RAPTOR official website: <a href=\"https:\/\/raptor.martincarlisle.com\/\" rel=\"noopener\"><strong>https:\/\/raptor.martincarlisle.com\/<\/strong><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Parallel Arrays using RAPTOR flowchart Parallel arrays are the use of two or more arrays to store multiple data values for individual objects or entities. Parallel arrays allow us to keep track of multiple types of data for a given object. Parallel Arrays We use the index of the arrays to relate and identify the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5971","post","type-post","status-publish","format-standard","hentry","category-automation","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\/5971","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=5971"}],"version-history":[{"count":22,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/5971\/revisions"}],"predecessor-version":[{"id":24102,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/posts\/5971\/revisions\/24102"}],"wp:attachment":[{"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/media?parent=5971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/categories?post=5971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.testingdocs.com\/questions\/wp-json\/wp\/v2\/tags?post=5971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}