alice calculationsCalculations and Functions

Calculations and Functions

Learn Alice in FREE step-by-step lessons.

Unit III: Control Structures

In this module, you will use arithmetic operators to move the characters to precise locations, to find totals, and other calculations.


Please study the material at each of the links below.

  1. Counter Loops Counter Loops: Using a while loop to count using counter=counter+1
  2. Counter: Using an endless loop to count using counter=counter+1
  3. 3 Guys take turns counting 3 Guys take turns counting: Using a while loop to count using counter=counter+1
  4. Calculate Distance to Move Bunny Calculate Distance to Move Bunny: Distance to move to be next to something
  5. Calculate Distance to Move Skater Calculate Distance to Move Skater: Distance to move to be next to something
  6. Writing functions Writing functions: Create a function to get distance to move next to something
  7. Loop to add numbers: A loop to add numbers uses a running total: total=total + number
  8. Loop to add numbers and find smallest and largest: The first value is the smallest and largest so far.
  9. Self Study Questions Self Study Questions: What have you learned?
  10. Discussion questions Discussion questions: What do you think?
GlossaryGlossary for calculations lesson
Full Glossary