Editing 1195: Flowchart

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
== Explanation ==
 
== Explanation ==
βˆ’
{{w|Flowcharts}} are diagrams used to show the logical flow of an {{w|algorithm}}, process, or program. Flowcharts are a [[:Category:Flowcharts|recurring theme]] in [[xkcd]]. In this comic, [[Randall]] uses the fact that flowcharts can indeed be used to show a loop in the procedure: in this case, the reader will theoretically become trapped in a loop of reading the text in the diamond, following the line marked "YES," and ending back up in the diamond. Those familiar with flowcharts will notice though that, while diamonds usually contain decision questions (which can be answered multiple ways), the diamond here actually includes a statement instead.
+
{{w|Flowcharts}} are diagrams used to show the logical flow of an {{w|algorithm}}, process, or program. Flowcharts are a [[Category:Flowcharts|recurring theme]] in [[xkcd]]. In this comic, [[Randall]] uses the fact that flowcharts can indeed be used to show a loop in the procedure: in this case, the reader will theoretically become trapped in a loop of reading the text in the diamond, following the line marked "YES," and ending back up in the diamond. Those familiar with flowcharts will notice though that, while diamonds usually contain decision questions (which can be answered multiple ways), the diamond here actually includes a statement instead.
  
 
The title text contains a suggested solution to the loop: the way to escape the loop is to use a marker and add an additional "NO" arrow proceeding from the diamond to a rounded box labelled "END" before you start the algorithm at "START." This suggests that the decision question in the diamond could more properly be phrased as "Is this flowchart a trap?" However, to follow this suggestion, you would need to actually have the marker that you are about to write instructions to go get. Thus, you must also add the instruction "get a marker" somewhere before the flowchart actually begins (before "START"), so that you actually have the marker by the time you get to the flowchart in the comic. And since you did not have a marker and could thus not write this way out, you are still trapped!
 
The title text contains a suggested solution to the loop: the way to escape the loop is to use a marker and add an additional "NO" arrow proceeding from the diamond to a rounded box labelled "END" before you start the algorithm at "START." This suggests that the decision question in the diamond could more properly be phrased as "Is this flowchart a trap?" However, to follow this suggestion, you would need to actually have the marker that you are about to write instructions to go get. Thus, you must also add the instruction "get a marker" somewhere before the flowchart actually begins (before "START"), so that you actually have the marker by the time you get to the flowchart in the comic. And since you did not have a marker and could thus not write this way out, you are still trapped!

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)