Você está na página 1de 6

Cynthia Castaeda Prez #2 9 A

Identify & Prioritize The Research

RAPTOR is a visual programming development environment based on


flowcharts. A flowchart is a collection of connected graphic symbols, where
each symbol represents a specific type of instruction to be executed. The
connections between symbols determine the order in which instructions are
executed. These ideas will become clearer as
you use RAPTOR to solve problems. When
students are learning to develop algorithms, they
very often spend more time dealing with issues
of syntax than solving the problem. Additionally,
the textual nature of most programming
environments works against the learning style of
the majority of students. RAPTOR is a flowchartbased programming environment that is
designed to help students visualize algorithms
while limiting the burden of syntax. Loras has
been using RAPTOR in its CS1 course for many years as an introduction to
basic programming concepts before students are introduced to C++. The
RAPTOR interface provides students with an intuitive means of adding
sequential, selection, and repetition structures to their flowcharts. In addition, it
has an easy to use graphics library that allows students to create interesting
programs using animations with relative ease.

Comments in Raptor
The RAPTOR development environment, like many other programming
languages, allows comments to be added to your program. Comments are
used to explain some aspect of a program to a human reader, especially in
places where the program code is complex and hard to understand. Comments
mean nothing to the computer and are not executed. However, if comments are
done well, they can make a program much easier to
understand for a human reader.

RAPTOR Program Structure


A RAPTOR program is a set of connected symbols
that represent actions to be performed. The arrows
that connect the symbols determine the order in
which the actions are performed. When executing a
RAPTOR program, you begin at the Start symbol and
follow the arrows to execute the program. A RAPTOR
program stops executing when the End symbol is
reached. The smallest RAPTOR program (which does
nothing) is depicted at the right. By placing additional RAPTOR statements
between the Start and End symbols you can create meaningful RAPTOR
programs.

Cynthia Castaeda Prez #2 9 A

Identify & Prioritize The Research

Introduction to RAPTOR Statements/Symbols


RAPTOR has six (6) basic symbols, where each symbol represents a
unique type of instruction. The basic symbols are shown at the left.

Purpose

Symbol

OUTPUT

Name
output
statement

Description
. Display (or save to a file) the
value of a variable.

procedure
call

Change the value of a variable


using
some
type
of
mathematical
calculation.
Execute a group of instructions
defined
in
the
named
procedure. In some cases some
of the procedure arguments (
variables) will be changed by
the procedure's instructions.

procedure
call
assignment
statement
input
statement

Change the value of a variable


using
some
type
of
mathematical calculation.

PROCESSING

PROCESSING

INPUT

Now you will see a tutorial of how to use Raptor.

RAPTOR TUTORIAL

Allow the user to enter data.


Each data value is stored in a
variable.

Cynthia Castaeda Prez #2 9 A

Identify & Prioritize The Research

My name is Cynthia Castaeda Prez and this time in my technology class, I m


learning how to use Raptor. Raptor is a flow diagram that help us to develop
programs. For all of us this is a new program, that can be useful in our daily
lifes. For example, the ATM
We have learn that the option OUTPUT is for include text in the diagram. It
can be a question, or a phrase in which you are giving a welcome to your
diagram. You will click to the option and put it in the arrow, there it will appear a
square in blank. You will double click the square and it will appear another
square with data that says ENTER OUTPUT HERE and in the blank space
below __________ you will type your text. Remember to put all ways quotes
at the beginning and at the end of your phrase, because if you dont have it at
the end of the procedure will appear wrong. When you finish, you click CLOSE
and there you have it.
Another important point, is the Input this option is the one that safe the
answers of the user in the memory of the computer. In this case is the one that
answer to the Output. To make work the input, you must click to the option and
then click on the arrow below. Then you double click the blank space that
appears and it will appear a window with information that will ask for your
prompt.
*The prompt means, the message in which you want that the computer
answers.*
You will include the phrase or question with quotes too in the big blank space.
And in the other little one you will enter the Variable which mean a word
related to the prompt. When you be ready you can click Close and thats it.
Finally is the option of Assignment is the one that makes the mathematic
operation. You click the option and then click on the arrow, there it will appear
the window. There you will have to put in set the variable , that is the word
related with input. And in to you will put the operation that is needed. When
you are done and want to see the result click on play and you will see it.

Cynthia Castaeda Prez #2 9 A

Identify & Prioritize The Research

In this practice of raptor we try the one of calculating the triangle Area. For this
practice we use imput for the titles and for the questions. The first input was to
ask for the Height. The second one ask for the base. Then after that 2 inputs
you should add an Assignment for the operation. That was H X B divided by 2.
After that assignment finally add an output that it was putting the answer of the
operation, and at the end we finalize with the output that was the result of the
operation. At the end click play and in the Master Console appear how does
the procedure have end.

Cynthia Castaeda Prez #2 9 A

Identify & Prioritize The Research

For this one we calculate the Polygon area, that was more longer than the
others because it consist of more procedure. First add an output that says of
what are we were going to make the procedure about. Then enter an input
asking for the side number of the polygon. In the second input I ask for the
value of each of the size that a polygon has. And the last input was asking for
the apothem. Then after 3 input, we are getting the information in order to have
a complete procedure. Then in the assignment put the procedure that was side
times volume. And in the second assignment add side times volume times
volume, then divide by 2. Finally add and output that says the result of the
procedure and a second output with the answer. Click play and in the left side it
appears what you made.

Cynthia Castaeda Prez #2 9 A

Identify & Prioritize The Research

The last practice that we made was for calculate the age. First add an
output with spaces, then in the second output put the title that is Age and in
the third Output it was for only spaces. Then in the first input it ask for the
Birthday. So because it was only asking for one thing, in the assignment you
should put a process to add your year. In the last Output add what was going
to be the answer. And at the end add the last Oputput with the answer. Finally
click play and in the left side it appear what was my age and the procedure.

This was my experience with this new program Raptor. I really hope I can
apply this knowledge in my daily life. With this knowledge we got, now we can
share what we know, what we learn, with other people that doesnt even know
that Raptor exist. I already teach my cousin to use this program, she like it and
now she is teaching my aunt and my uncle.This was one of the programs that I
really really enjoyed and understand very well.

Você também pode gostar