Thanks for your comment, I am already searching for relevant information on active learning strategies.
About your experience with the online course, I can understand the difficulty on trying to make a lab assignment for people without the necessary knowledge to complete the assignment. My current strategy is to provide some base code and then asking for the students to keep changing the code (giving enough hints) so that in the end they have a working solution.
Edit: Found some interesting papers, for instance [0] and [1].
[0] http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.59....