It can often be useful to have the students get up and act out various learning objectives. The current understanding is that these activities are good for introduction and outreach, not so good for instruction and advanced learning.


External Resources

Other activities


Have students act out being an activation record in a recursive method call. Have them follow the following outline:

When given a number,
    Stand up
    If the number ≤ 1
        Return 1
        Give someone sitting number – 1
        Give someone sitting number – 2
        Return the sum of the results
    Sit down

It can also work to write this in the syntax of the language you are teaching.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License