AllTheTimeWorld.com

alice calculationsCalculations and Functions

Calculations and Functions

Learn Alice in FREE step-by-step lessons.

Module 15: Calculations and Functions

The goal of this lesson is to learn to do calculations, use counters, and find totals.
These calculations will enable you to move the characters more precisely in the Alice virtual world.

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

In order to do this you will:

Print the lesson

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
    /alice/videos/alice-counter.mp4

  2. 3 Guys take turns counting 3 Guys take turns counting: Using a while loop to count using counter=counter+1
    /alice/videos/alice-guyscount.mp4
  3. Calculate Distance to Move Bunny Calculate Distance to Move Bunny: Distance to move to be next to something
    /alice/videos/alice-bunny-gopherhole.mp4
  4. Calculate Distance to Move Skater Calculate Distance to Move Skater: Distance to move to be next to something
    /alice/videos/alice-skater.mp4
  5. Writing functions Writing functions: Create a function to get distance to move next to something
    /alice/videos/alice-nextto-function.mp4
  6. Loop to add numbers: A loop to add numbers uses a running total: total=total + number

  7. Loop to add numbers and find smallest and largest: The first value is the smallest and largest so far.

  8. Self Study Questions Self Study Questions: What have you learned?

  9. Discussion Questions Discussion Questions

Active Learning

Move to and Jump on top