200 likes | 216 Views
This tutorial introduces the basics of AlgoTutor for the mapping and operation selection phases. Learn how to use AlgoTutor, refine your algorithm, and complete exercises.
E N D
AlgoTutor Tutorial (2)Refining an algorithm J. Yoo, S. Yoo, C. Pettey, S. Seo, and Z. Dong MTSU Computer Science Department
Welcome to AlgoTutor (2) • This tutorial will introduce you to the basics of AlgoTutor for the mapping phase as well as the operation selection phase. • AlgoTutor currently only works with Firefox. • It does not work in IE. • To use AlgoTutor, you need to have an account. • Use the class account given by your instructor.
Starting AlgoTutor • Open FireFox (Don’t use IE) • Go to cslabserver2.cs.mtsu.edu • Log in using your class account (c#) • Click on Proceed to the AlgoTutor lab • Or you can directly go to Algotutor lab by going to cslabserver.cs.mtsu.edu/algorithm • You will see the list of labs available • Click on the lab that you want to do • For example, Lab 1: Introduction to Algotutor will get you to the exercise list • Click on an exercise • The problem page will be displayed. • Click on solve to start the algorithm composer.
Composer: Operation Selection Phase Drag down thegreen horizontal bar to view the entire problem description
Composer: Operation Selection Phase Read the problem description
Features in Operation Selection Phase • Composing by dragging • Checking correctness: <check my ordering> • Saving your solution: <save changes> • <Use Lifeline> • <Feedback> • <Manual Grade> • <GUI Help> • <Ordering done, Parameter mapping next>
Composer: Operation Selection Phase Operations to be used (drag to the left) for your algorithm are listed as top levelandlower leveloperations. Lower level operations are used inside of a top level operation.
Composer: Operation Selection Phase Dragtop leveloperations to the left and place them in correctorder. To create a top levelalgorithm
Composer: Operation Selection Phase To refine top level operations Draglower leveloperations and place them inside of an operation in correctorder.
Composer: Operation Selection Phase You may drag the same operation more than once.
Composer: Operation Selection Phase You can collapse an operation containing other operations by clicking ‘-’ symbols. Need more space?
Composer: Operation Selection Phase You can expand the block of operations and view the lower lever operations by clicking‘+’symbols. You have more room.
Composer: Operation Selection Phase Save your current algorithm to be filled in the parameter mapping phase Done with ordering, move to parameter mapping phase.
Algorithm refinement in Parameter Mapping Phase • When you move to the parameter mapping phase, • AlgoTutor displays the standard solution • Standard solution: a correct solution provided by the teacher. • It may be slightly different from your algorithm in the ordering phase.
Composer: Parameter Mapping Phase Parameters/variables to be used (drag to the left) in the algorithm Select one and drag it to ?. Check the correctness
Composer: Parameter Mapping Phase Alternatively! Click on the down arrow. Click on ?
Composer: Parameter Mapping Phase Done with mapping, move to next level
Features in Parameter Mapping Phase • Mapping by dragging • Checking correctness: <check my mapping> • Saving your solution: <save changes> • <Feedback> • <GUI Help> • <Mapping done, Next level>