An algorithm can have several functions with parameters and return values. The call tree draws every call under the call that made it; repeated calls with the same arguments are amber.

Algorithm FibonacciRec

Student
  1. Run it with n = 5 and open the Call tree tab: 15 calls, 9 of them repeated work.
  2. Step through it: the running call is blue and a finished call shows the value it returned.
Teacher
  1. In the editor the tabs above the diagram are the functions; + adds one, with parameters and a return type.
  2. Templates: Factorial (recursive), Fibonacci (recursive), Towers of Hanoi, Quick Sort, Merge Sort.