Zebra0.com

alice user-inputAlice Programming

Alice Programming

Learn Alice in FREE step-by-step lessons.

Module 6: User Input in Alice3

In this module, you will learn create an interactive program.
Your program will ask the user his name and then make a 3D character say "hello" using the name they entered.

Goal:

In order to do this you will:

Objectives:

Print the lesson

Please study the material at each of the links below.

  1. Ask the users name and say hello Ask the users name and say hello: Use the function getStringFromUser to ask the user his name, then say hello using the name entered.
    /alice/videos/alice-hello-user.mp4

  2. Ask the user how old they are Ask the user how old they are: Use the function getIntegerFromUser to ask the user's age.
    /alice/videos/alice-age.mp4
  3. Ask the users their favorite food Ask the users their favorite food: Wolf asks "What's your favorite food?", then says that is his favorite too.
    /alice/videos/alice-favorite-food.mp4
  4. Panda asks how much to turn Panda asks how much to turn: We ask the user for a double and the panda spins around that amount.
    /alice/videos/alice-panda-turn.mp4
  5. Martian asks if he is on Mars Martian asks if he is on Mars: We ask the user for a Boolean value.
    /alice/videos/alice-getboolean.mp4
  6. Self Study Questions Self Study Questions: What have you learned?

  7. Discussion Questions Discussion Questions

Active Learning

Ask the user some questions

GlossaryGlossary for user-input lesson
Full Glossary