OCR
11.2 FROM DANCE TO CODE 125 Instructions Animation Filter instructions: CD ED ED - © 000 elect(a(c ) length (n} ct(a(1), a[2]) [2] Animation a 3 speed: Current movement: Swap{a(0], a[1]} a(6) alt) af6) ale) ao) all) al) als) af4] als) EX | | | IC | | | fi Figure 11.6. Animation module DouigoiwouiCoiDo0o 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 acquisition 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. 11.2.2 Courses The role of the courses is to help users understand algorithms. Different combinations of learning steps, in many variations, create different courses.