1 / 20

AlgoTutor Tutorial (2) Refining an algorithm

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.

lynton
Download Presentation

AlgoTutor Tutorial (2) Refining an algorithm

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. AlgoTutor Tutorial (2)Refining an algorithm J. Yoo, S. Yoo, C. Pettey, S. Seo, and Z. Dong MTSU Computer Science Department

  2. 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.

  3. 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.

  4. Exercise Page

  5. Composer: Operation Selection Phase Drag down thegreen horizontal bar to view the entire problem description

  6. Composer: Operation Selection Phase Read the problem description

  7. 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>

  8. 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.

  9. Composer: Operation Selection Phase Dragtop leveloperations to the left and place them in correctorder. To create a top levelalgorithm

  10. Composer: Operation Selection Phase To refine top level operations Draglower leveloperations and place them inside of an operation in correctorder.

  11. Composer: Operation Selection Phase You may drag the same operation more than once.

  12. Composer: Operation Selection Phase You can collapse an operation containing other operations by clicking ‘-’ symbols. Need more space?

  13. Composer: Operation Selection Phase You can expand the block of operations and view the lower lever operations by clicking‘+’symbols. You have more room.

  14. Composer: Operation Selection Phase Save your current algorithm to be filled in the parameter mapping phase Done with ordering, move to parameter mapping phase.

  15. 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.

  16. 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

  17. Composer: Parameter Mapping Phase Alternatively! Click on the down arrow. Click on ?

  18. Composer: Parameter Mapping Phase

  19. Composer: Parameter Mapping Phase Done with mapping, move to next level

  20. 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>

More Related