RAPTOR Tool – A Flowchart Interpreter
RAPTOR(Rapid Algorithmic Prototyping Tool for Ordered Reasoning) is a free graphical authoring tool created by Martin C. Carlisle, Terry Wilson, Jeff Humphries and Jason Moore, designed specifically to help students visualize their algorithms and avoid syntactic baggage.
Students can create flow-chart for a particular program and raptor tool will generate code for it in various programming languages, such as C, C++, Java and so on.
Symbols in RAPTOR
Raptor has 6 types of symbols, each of which represents a unique kind of instruction. They are – Assignment, Call, Input, Output, Selection and Loop symbols. The following image shows these symbols-
RAPTOR Program Structure
A RAPTOR program consists of connected symbols that represent actions to be executed.
- The arrows that connect the symbols determine the order in which the actions are performed.
- The execution of a RAPTOR program begins at the Start symbol and goes along the arrows to execute the program.
- The program stops executing when the End symbol is reached.
With the help of Generate option, the generated C++ code for the above flow chart is:
In this way, any algorithm can be visualised by the students, and it can be converted into a code using the raptor tool.
This article is contributed by Mrigendra Singh. If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to firstname.lastname@example.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.