View
236
Download
4
Category
Preview:
Citation preview
RAPTOR Tool
1
Agenda
• Need for Automation tool
• Introduction to Raptor tool with Demo-1
• Raptor Tool Features
• DEMO’s : Tool Familiarity Exercises : Example-1 thru Example-14
• Conclusion
2
» Invention and implementation of tools have been the lynchpins
for the success of the human race throughout our evolution
» Tools provide an effective means to implement a repeatable
and predictable processand predictable process
» Tools give a definite edge in maintaining efficiency and
competitiveness
» As the software industry evolves, the successful
implementation of tools is going to be the key differentiator in
staying one step ahead of the competition
Raptor Tool
• Here is an Example to Print the average of three
subjects � Flowchart-Average-Three-Subjects
4
Raptor Tool
� RAPTOR, the Rapid Algorithmic Prototyping Tool for OrderedReasoning, is a tool used for drawing and executing flowcharts.
� Raptor is a simple-to-use problem solving tool that enablesthe user togenerate executable flowcharts
� The RAPTOR development environment minimizes the amount ofsyntaxsothatlearnercanfocuson thesolutionstepssothatlearnercanfocuson thesolutionsteps
� They can then run their algorithms in the environment, either step-by-stepor in continuous play mode.
� RAPTOR is a visual programming development environmentbased onflowcharts
� Raptor was written for students being introduced to the computingdiscipline in order to develop problem solving skills and improvealgorithmic thinking
5
Raptor Tool
• RAPTOR was originally developed by and for the US Air force Academy
• Major work on RAPTOR is done by Dr. Martin Carlisle
• It is written with the combination of Ada, C# and C++, and runsin the.NET Framework.
• It is freely distributed as a service to the Computer Scienceeducationcommunity.
• RAPTOR is now being used for Computer Science education in over 10countries on at least 4 continents.
• More Info on Raptor :http://raptor.martincarlisle.com
6
7
Demo’s
� Find the Area of a Circle
Area-of-Circle-Flowchart
� Find the average marks scored by a student in 3 subjects:
Average-3-MarksFlowchart
88
� Find the Sum of N Numbers:
� Write an algorithm and draw a flowchart that will calculate the roots of a quadratic equation Hint: d = sqrt ( ), and the roots are: x1 = (–b + d)/2aand x2 = (–b – d)/2a
8
Sum-of-N-Numbers-Flowchart
2 4b ac−
Roots-Quadratic-Equation-Flowchart
Demo’s
� Here is an example that finds the average of the four values in the
scores array
Average-of-4-numbers
� Here is an example that finds the factorial of a given number
Factorial Flowchart
� Here is an example that finds whether a given number is prime
99
� Here is an example that finds whether a given number is prime
number or not
Prime-Number-Flowchart
� Here is an example that finds greatest of three numbers
Greatest-of-three-numbers
� Here is an example that finds the result of students
Result-of-Iteration-method
9
Demo’s
� Here is an example that sorts given numbers using bubble sort
Bubble-sort
� Here is an example that searches a given number using Linear Search
Linear-Search
� Here is an example that searches a given number using Binary Search
1010
� Here is an example that searches a given number using Binary Search
Binary-Search
� Here is an example that prints multiplication table for a given number
Multiplication-Table
� Here is an example that generates Fibonacci numbers up to a given
number
Fibonacci-Generation
10
Why Raptor Tool
• RAPTOR is being used as an important tool to develop algorithmicapproach for solving problems
• Our observation and experience suggests that, when students are learning todevelop algorithms, they very often spend more time dealingwith issues ofsyntax than solving the problem
• RAPTOR is a flowchart-based programming environment, designed• RAPTOR is a flowchart-based programming environment, designedspecifically to help learner, visualize their algorithms and avoid syntacticbaggage.
• The RAPTOR development environment is visual. RAPTOR programs arediagrams that can be executed one symbol at a time. This will help youfollow the flow of instruction execution in RAPTOR programs.
• RAPTOR error messages are designed to be more readily understandableby beginning programmers.
11
Conclusion
� Simple, yet powerful tool for problem-solving techniques
� No need to see for syntactical errors and can concentrate more ondevelopment
� Easy for student/ faculty community
� Excellentvisualdevelopmentenvironment
121212
� Excellentvisualdevelopmentenvironment
� Flowchart programming execution
� High level design features
� Advanced features such as sub charts, drawing graphics, sound, array,files, events etc…
� RAPTOR provides a simple environment for learners to experiment withdeveloping algorithms
Recommended