Tag Archives: function

Alice 2 Proximity functions

One of the hardest concepts for younger programmers to learn is what returning a value means, a concept which Alice represents by its notion of ‘functions’.  And, in Alice, a great approach is to require students to move an object based on the distance  and to use a function to return the value of that distance … Continue reading Alice 2 Proximity functions →

How to Use a Variable and Function in Alice 2

One of the ways that Alice teaches student about returning a value can be seen in how methods, variables and functions work. Methods cannot be dragged into variable values   This is because , in Alice, a method is an action and does not return a value. Functions can be dragged into variable values   Since functions return a … Continue reading How to Use a Variable and Function in Alice 2 →