CLASS OBJECTIVE
Know the Raptor programming environment for the first time, by creating a program that performs a basic process to request information, do a process and displays a result.
FLOWCHARTS
- Process or assignment, which represent the internal processes like calculations or the manipulation of the information.
- Input ask a person to introduce information, for example, words or numbers.
- Output does exactly the opposite, it shows information to the user, mostly the results of the processes.
RAPTOR
Before we start with Raptor you have to install the Direct access icon. Follow the next directions:
- Open the Window´s File Explorer and the "Este equipo" option on the left panel.
- Double click on the Hard Disk Drive (Usually C:)
- Now look for the "Archivos de programa (x86)" folder and get into it.
- Look for the "Raptor_avalonia" folder and get into it.
- Locate
INTRODUCTION
You've been learning to create problem solutions using technology tools. Now you'll be introduce to programming languages with Raptor programming environment.
With Raptor you´ll create programs (algorithms) and when you execute them you'll see the process step by step.
The Raptor main feature is that the programs will be created using flowcharts.
- Drag the Input symbol to the main structure
- Double clic on the input symbol.
- "Prompt" is the text that will be shown to the user. Type "What is your name?"
- "Variable" is the name that will be assign to information collected. Type NAME
- Drag the Assignment symbol to the structure
- This is the process that will be executed. Double clic on it.
- Type SALUTE in the SET text box.
- Then type "WELCOME "+NAME+" TO RAPTOR"
- Drag the Output symbol to the structure
- Double clic on it.
- Type "SALUTE"
- This will be the answer that will be shown in the console window.
ACTIVITY
Instead of typing messages, you´ll create a small calculator. Clic on FILE menu and NEW to create a new algorithm.
- Use 2 input symbols to ask for two numbers.
- Name them N1 and N2
- Use 4 assignment symbols to Add, Subtract, Multiply and Divide.
- Name them ADDITION, SUBTRACTION, MULTIPLICATION and DIVISION
- Use 4 output symbols to show the results.
CLASS NOTES
As always, write down in your notebook the title of the class, the objective and follow the instructions.
- Explain in your own words, What is Raptor?
- What does "programming environment" means? You can use Google.
- Draw the Raptor symbols that we used in today activities.