pxt-calliope/docs/reference/js/lessons/digi-yoyo/quiz.md
2016-03-25 16:47:20 -07:00

599 B

digi yoyo quiz

Create a counter with a while loop

Name

Directions

Use this activity document to guide your work in the digi yoyo tutorial

Answer the questions while completing the tutorial. Pay attention to the dialogues!

1. Describe what a "while loop" does?


2. Write the code that will create a variable called count and set the variable to 0.


3. Write the code for a while loop that will loop until the variable count equals 4.