Oxford University Press: Flowchart Design Through Raptor Subcharts/ Subroutine / Predefined Process
Oxford University Press: Flowchart Design Through Raptor Subcharts/ Subroutine / Predefined Process
A subroutine may be designed to accept one or more data values (also known as parameters) from
the calling code. It may also return a value to its caller. A subroutine can also be written in such a
s
es
way that it calls itself repeatedly.
Pr
The subroutine symbol is used to write steps for procedures. These procedures can be called from
ity
anywhere in the code. This means that once the flowchart for a process is drawn, it can be
referenced and used from anywhere in the code.
rs
ve
RAPTOR which stands for Rapid Algorithmic Prototyping Tool for Ordered Reasoning is a free
U
graphical authoring tool which was created by Martin C. Carlisle, Terry Wilson, Jeff Humphries
d
and Jason Moore. RAPTOR has been specifically designed to help students visualize their
or
algorithms without getting bogged down by any particular language’s syntactic rules.
xf
Students just have to design a flowchart listing steps to solve a particular problem, RAPTOR will
O
generate a program code and execute it so that students can know whether the solution they are
writing (algorithm) is technically correct or not.
RAPTOR executes one symbol at a time, so the user can easily understand the flow of instruction
execution
Uses
s
• Error messages in RAPTOR are easy to understand.
es
• It has advanced features including sub charts, drawing graphics, sound, array, files, events, etc.
Pr
ity
RAPTOR is written using programming languages like Ada, C# and C++. It runs in the .NET Framework.
rs
EXAMPLE PROBLEM SECTION 1
ve
.Then open the RAPTOR window. You will see flowchart symbols in the left pane and a drawing
U
area on the ride side of the window. Start and End symbols are already present. We need to drag
d
other symbols from the left pane. Let us learn how to use the RAPTOR software by drawing our
or
first flowchart.
xf
Step 1: Drag the input symbol and place it in between the Start and End symbols. It will be inserted
O
there.
Step 2: Double click on the Input symbol to open the Enter Input window.
Step 3: Enter a message to be displayed within double quotes (“ “) in the Enter Prompt Here
textbox.
Step 4: Enter the variable name in the Enter Variable Here textbox.
Step 8: Drag the selection symbol. Double click on it and write A>B in the Enter selection
U
Step 9: In the Yes branch drag another selection field and write A>C in the Enter selection
xf
Step 10: In the Yes branch of selection symbol of step 9, drag an output symbol to print A is the
largest number.
Step 12: Now click on the RUN button to execute the flowchart.
Minimum.rap
Maximum.rap
Average.rap
s
es
Pr
Linear_Search.rap
ity
rs
Binary_Search.rap
ve
ni
U
d
or
xf
O