[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-673425-105":59,"doc-detail-673425-en":130,"doc-similar-673425":152},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","pseudocode-flow-charts-read-online-free","Pseudocode & Flow Charts - read online free","","Pseudocode and flow charts explain how to plan robot or program behavior using informal logic rather than strict syntax. It describes pseudocode as a universal way to capture solution logic and sequence, then shows example robot control steps such as moving forward, responding to sensor conditions, stopping, and turning. The material also defines flow charts as visual representations using blocks, arrows, decision diamonds, and start/end symbols, clarifying how program flow and branching decisions are documented.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/pseudocode-flow-charts-read-online-free/673425/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/pseudocode-flow-charts-read-online-free/673425.png","ImageObject",300,407,{"name":92,"@type":93},"404brain","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-28","2026-11-02",true,{"@type":102,"interactionType":103,"userInteractionCount":19},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What is pseudocode used for before writing real code?","Question",{"text":112,"@type":113},"Pseudocode outlines program structure and logic before translating into proper syntax, creating a clear framework and sequence of operations.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the example pseudocode control the robot?",{"text":117,"@type":113},"The robot runs forward until a touch sensor condition is met, and it stops and turns right when sonar detects an object within 20 cm.",{"name":119,"@type":110,"acceptedAnswer":120},"What elements make up a flow chart?",{"text":121,"@type":113},"Flow charts represent actions with blocks and sequence with arrows, use start/end rounded rectangles, and use diamond decision blocks to branch based on choices like Yes/No.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},673425,1793637913,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":19,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":14,"language":139,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":140,"faqs":141,"seo_title":142,"seo_description":67,"update_tm":129,"read_time":24,"preview_page_count":14,"preview_urls":143},1099529839291,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Reference  \n\n| Pseudocode & Flow Charts\u003Cbr>Pseudocode is a shorthand notation for programming which uses a combination of informal programming structures and verbal descriptions of code. Emphasis is placed on expressing the behavior or outcome of each portion of code rather than on strictly correct syntax (it does still need to be reasonable, though) .\u003Cbr>In general, pseudocode is used to outline a program before translating it into proper syntax. This helps in the initial planning of a program, by creating the logical framework and sequence of the code. An additional benefit is that because pseudocode does not need to use a specific syntax, it can be translated into different programming languages and is therefore somewhat universal. It captures the logic and flow of a solution without the bulk of strict syntax rules.\u003Cbr>Below is some pseudocode written for a program which moves as long as a touch sensor is not pressed, but stops and turns to the right if its sonar detects an object less than 20cm away. |  |\n| --- | --- |\n| \u003Cbr>\u003Cbr>task main (){\u003Cbr>\u003Cbr>{\u003Cbr>Robot runs forward\u003Cbr>if ( sonar detects object \u003C 20 cm away ){\u003Cbr>Robot stops\u003Cbr>Robot turns right\u003Cbr>}}\u003Cbr>} | Some intact syntax\u003Cbr>The use of a while loop in the pseudocode is fitting because the way we read awhile loop is very similar to the manner in which it is used in the program.\u003Cbr>Descriptions\u003Cbr>There are no actual motor commands in this section of the code, but the pseudocode suggests where the commands belong and what they need to accomplish. |\n| This pseudocode example includes elements of both programming language, and the English language. Curly braces are used as a visual aid for where portions of code need to be placed when they are finally written out in full and proper syntax. |  |\n\n© Carnegie Mellon Robotics Academy / For use with LEGO® MINDSTORMS® Education NXT software and base set 9797 Pseudocode & Flow Charts • 􀀱  \nROBOTC  \n\n|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |\n|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |\n|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |\n|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |\n|  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |  |","cbCailC5ZhEWxIc0","https://ap.wps.com/l/cbCailC5ZhEWxIc0","pdf",157576,"English","# Pseudocode\n## Purpose and benefits\n## Example: sensor-based movement logic\n# Flow Charts\n## Definition and components\n## Start/End symbols and actions\n## Decision blocks","[{\"question\":\"What is pseudocode used for before writing real code?\",\"answer\":\"Pseudocode outlines program structure and logic before translating into proper syntax, creating a clear framework and sequence of operations.\"},{\"question\":\"How does the example pseudocode control the robot?\",\"answer\":\"The robot runs forward until a touch sensor condition is met, and it stops and turns right when sonar detects an object within 20 cm.\"},{\"question\":\"What elements make up a flow chart?\",\"answer\":\"Flow charts represent actions with blocks and sequence with arrows, use start/end rounded rectangles, and use diamond decision blocks to branch based on choices like Yes/No.\"}]","Pseudocode & Flow Charts - read online free | PDF",[144,148],{"page_no":8,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/94240811dbb34c7cb18e10c6926c92ca.webp",983,1272,{"page_no":14,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/e8b826d1ce876f089b96258faff7fb06.webp",982,1270,{"list":153,"token":66},[154,160,166,172,178,184,191,198,204,210],{"doc_id":155,"doc_title":156,"file_type":137,"home_preview_img_url":157,"slug":158,"view_count":19,"category_name":30,"create_tm":159},697704,"Introduction to Programming in C++ - Algorithms, Flowcharts and Pseudocode","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009856755/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=D9F824blHWE7HacKsN7CUyUyVTA%3D","introduction-to-programming-in-c-algorithms-flowcharts-and-pseudocode",1794442290,{"doc_id":161,"doc_title":162,"file_type":137,"home_preview_img_url":163,"slug":164,"view_count":81,"category_name":30,"create_tm":165},697706,"Algorithm - Flowchart - Pseudocode","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230009856873/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=upN1vBg2OIGguO7FLlDFkPuezbs%3D","algorithm-flowchart-pseudocode",1794442309,{"doc_id":167,"doc_title":168,"file_type":137,"home_preview_img_url":169,"slug":170,"view_count":34,"category_name":30,"create_tm":171},641971,"SEL LANGUAGE - Programming Manual - Intelligent Actuator Inc.","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229970730801/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=q6vJJ2p8IpB6Uj1M6SzkY0cHcGY%3D","sel-language-programming-manual-intelligent-actuator-inc",1792719990,{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":19,"category_name":30,"create_tm":177},668973,"Branching - Determine the Nature of a Condition","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229987780263/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=A1ZLQFV2LKNaWaEKgBCiahSvLVs%3D","branching-determine-the-nature-of-a-condition",1793521911,{"doc_id":179,"doc_title":180,"file_type":137,"home_preview_img_url":181,"slug":182,"view_count":8,"category_name":30,"create_tm":183},760965,"LEGO Powered Up Programming Blocks - Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230045267149/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=r35pLxeftbvaqo7Rsti%2Fwc39O7M%3D","lego-powered-up-programming-blocks-guide",1795963003,{"doc_id":185,"doc_title":186,"file_type":137,"home_preview_img_url":187,"slug":188,"view_count":189,"category_name":30,"create_tm":190},665357,"IBM Reference Manual - Flow Charting and Block Diagramming Techniques","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229983282083/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=BEbaqRWOrk13GRIvKd9qkF9yb4U%3D","ibm-reference-manual-flow-charting-and-block-diagramming-techniques",13,1793299677,{"doc_id":192,"doc_title":193,"file_type":137,"home_preview_img_url":194,"slug":195,"view_count":196,"category_name":30,"create_tm":197},203135,"Branching modules MS9-FRM - Technical data - New","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882919252/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=Y7HzZYWXzuZ8gREzdR4pTt361CM%3D","branching-modules-ms9-frm-technical-data-new",18,1788555972,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":34,"category_name":30,"create_tm":203},668967,"Pseudocode and Flowcharts - An Educational Handout","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229987435530/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=vTovhU7AYaCOvPpR8TuL00gsAew%3D","pseudocode-and-flowcharts-an-educational-handout",1793521900,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":24,"category_name":30,"create_tm":209},680207,"Flowcharts - Programming Fundamentals","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229997987812/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=xB%2FK9JUC11e2Lr4CYW5r1np%2FYs0%3D","flowcharts-programming-fundamentals",1793914768,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":24,"category_name":30,"create_tm":215},669239,"Flowcharts - KIPR Module 2","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229988184850/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111819&Signature=rhkSbyIShpMSS276rMeVZtzFw5s%3D","flowcharts-kipr-module-2",1793536948]