0% found this document useful (0 votes)
73 views7 pages

Oxford University Press: Flowchart Design Through Raptor Subcharts/ Subroutine / Predefined Process

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views7 pages

Oxford University Press: Flowchart Design Through Raptor Subcharts/ Subroutine / Predefined Process

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

FLOWCHART DESIGN THROUGH RAPTOR

Subcharts/ Subroutine / Predefined Process

A subroutine (or procedure or function or routine) is a sequence of instructions that performs a


specific task. These instructions are packaged as a single unit and can be used (or invoked or
called) wherever that particular task needs to be performed. After performing its defined task, the
sub-routine branches back (or returns) to the next instruction after the one that invoked it.

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 TOOL – A FLOWCHART INTERPRETER


ni

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

• Enable students to develop problem solving skills


• Improves logical thinking
• Helps users to visualize their algorithms.

© Oxford University Press. All rights reserved.


Advantages:

• RAPTOR can be downloaded free of cost.


• It is a very simple problem solving tool that can be used even by novice programmers or
beginners.
• It help users to generate executable flowcharts
• User has to just focus on solution of a problem and not on the syntax of a programming
language in which the solution will be implemented later.
• RAPTOR allow users to either execute their flowchart step-by-step or in a continuous play
mode.

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

To use RAPTOR tool to draw flowchart, first download it from https://raptor.martincarlisle.com/


ni

.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 5: Click on Done.

© Oxford University Press. All rights reserved.


s
es
Pr
ity
Step 6: You will be asked to save the flowchart. Click on OK and save it in the
rs
desired location.
ve

Step 7: Repeat Steps 1 to 6 for entering the values of B and C.


ni

Step 8: Drag the selection symbol. Double click on it and write A>B in the Enter selection
U

condition text box.


d
or

Step 9: In the Yes branch drag another selection field and write A>C in the Enter selection
xf

condition text box.


O

Step 10: In the Yes branch of selection symbol of step 9, drag an output symbol to print A is the
largest number.

Step 11: Similarly, add other symbols as shown in the figure.

Step 12: Now click on the RUN button to execute the flowchart.

Step 13: Enter the values and see the result.

© Oxford University Press. All rights reserved.


s
es
Pr
II. Flowchart for Unit Convertor
ity
rs
Now, let us draw a simple flowchart that converts a value from kilometers to meters.
ve
ni
U
d
or
xf
O

III. Flowchart to calculate Simple Interest

© Oxford University Press. All rights reserved.


s
es
Pr
ity
rs
ve
ni
U

IV FLOWCHART FOR MULTIPLICATION TABLE


d
or
xf
O

© Oxford University Press. All rights reserved.


s
es
Pr
ity
rs
ve
ni
U
d
or
xf
O

GCD.rap (Command Line)

© Oxford University Press. All rights reserved.


Prime.rap

Minimum.rap

Maximum.rap

Average.rap

s
es
Pr
Linear_Search.rap

ity
rs
Binary_Search.rap
ve
ni
U
d
or
xf
O

© Oxford University Press. All rights reserved.

You might also like