11.2 FROM DANCE TO CODE 125
Filter instructions: CD ED ED
- © 000
elect(a(c ) length
Current movement: Swap{a(0], a[1]}
ao) all) al) als) af4] als)
EX | | | IC | | | fi
Figure 11.6. Animation module
4 “ s “ 1
; 4 A D 4 = lant swap, index
HEHH ) while (last evap index 7
Hints
‘You're awesome! No need for help!
Figure 11.7. Create Code module
Code Comes Alive: Summarizing all the previous elements, in this phase, the
user can pay attention to the result of their work: parallel with the step-by-step
execution of the code (the relevant code lines are highlighted), a synchronized
animation is played.
The learning steps described above have the purpose of helping in the ac¬
quisition of algorithmic knowledge. For verifying the efficiency of this process,
we introduced the notion of the tests in the renewed tool. These can be defined
very dynamically and will be evaluated automatically after submitting.
The role of the courses is to help users understand algorithms. Different
combinations of learning steps, in many variations, create different courses.