alice arraysArrays: Working with lists of objects

Arrays: Working with lists of objects

Learn Alice in FREE step-by-step lessons.

Unit IV: Advanced Techniques

An array is a list. When you declare a variable in Alice, you can select to make it an array.

In this lesson, you will declare and use arrays. An array is a variable that is a list.
You will create arrays of words, numbers, or objects, then use loops to process the entire array.

Goals:

Objectives:

Please study the material at each of the links below.

  1. Arrays: Ready, Set, Go! Arrays: Ready, Set, Go!: Tortoise says "Ready", "Set", "Go" using array
  2. An array of animals An array of animals: An array of SJointedModel contains, yeti, tortoise and stuffedTiger
  3. The animals talk: Parallel Arrays The animals talk: Parallel Arrays: One array contains animals, the other the things they say
  4. Who's the tallest? Who's the tallest?: People are in an array, a loop is used to find the tallest.
  5. Animals counting Animals counting: An array of animals take turns to count
  6. Birds spread wings and say something Birds spread wings and say something: An array of birds perform
  7. Fish swim to cave with procedure Fish swim to cave with procedure: Each fish swims to cave with procedure
  8. Array of Objects Array of Objects: An array is madeup of different classes
  9. Segments of an elephant's trunk as an array: The segments of an elephant's trunk, tail and a few other things are an array.
  10. Self-Study Questions Self-Study Questions: What have you learned?
  11. Active Learning: Arrays Active Learning: Arrays: Show what have you learned
  12. Complete Step 6: Scene Procedures for the final project.
  13. Discussion questions Discussion questions: What do you think?
GlossaryGlossary for arrays lesson
Full Glossary