AlgoTutor Tutorial (3) Program Pad J. Yoo, S. Yoo, C. Pettey, S. Seo, and Z. Dong MTSU Computer...
-
Upload
damian-hubbard -
Category
Documents
-
view
217 -
download
1
Transcript of AlgoTutor Tutorial (3) Program Pad J. Yoo, S. Yoo, C. Pettey, S. Seo, and Z. Dong MTSU Computer...
AlgoTutor Tutorial (3)
Program Pad
J. Yoo, S. Yoo, C. Pettey, S. Seo, and Z. Dong
MTSU Computer Science Department
Making the transition from the algorithm to the implementation (C++ code).
What is ProgramPad ?
• ProgramPad is a component of the AlgoTutor system
• It converts your algorithm developed in Composer of AlgoTutor into C++ code.
• To use the ProgramPad, you need to first develop an algorithm for a given problem.
How to use ProgramPad
For a new problem 1. Start with an AlgoTutor problem
exercise2. Solve the AlgoTutor problem3. Select the Corresponding
ProgramPad exercise
For a problem for which you have already developed an algorithm
1. Simply select a ProgramPad exercise
January 13, 3:35 PM
The first time you use ProgramPad for a problem you will need to load your algorithm
January 13, 3:35 PM
To load your algorithm, (1)click the drop down arrow (2) select your algorithm (AlgoTutor
solution), then (3) click the load button
Your algorithm does not contain C++ syntax, so you
may need to add some things. For instance, this one is
missing variable declarations
After typing the appropriate C++ code in this pane, you need to click
The Save button. Then you can compile your program by clicking
the Build button.
In the preceding run, the spacing was off and
there was no purpose printed. So the solution can be altered by typing
in the solution pane
You are all done, so don’t forgetto click the Done
button.Make sure you print before
You click done.