In this lab, you will explore the functionality of some common blocks and where they are located in the palette.
1.1) Fill in the name of the category to which each block belongs in the chart below. The first one is already filled in for example.
Block | Category |
---|---|
motion | |
2.1) Describe the function of each block in the chart below. If the block accepts arguments (contains values that you can change), be sure to test out a few different ones to make sure you fully understand what those values mean. The first one is already filled in for example.
2.2) At this point, you may be noticing some patterns. Use what you've learned from exploring these blocks to answer the questions below about each block category.
a. What do the blocks in the Motion category do?
b. What do the blocks in the Looks category do?
c. What do the blocks in the Sound category do?
d. What do the blocks in the Pen category do?
You are now going to use some of the blocks you've explored to create, save, and submit a Snap! program.
- Create a script that plays 4 different notes with at least 2 rests in between.
- Use the repeat block to play your song on loop
- Create a script that initializes the sprite at position (-20, 10). Then, have the sprite draw a shape that has at least 2 different colors and 2 different line thicknesses. An example would be a square that has 2 thin red sides, and 2 thick blue sides.
- When you've completed all of the scripts above, save your file, share it, and then copy the unique URL below. Be sure to share and publish your file before pasting the URL.
File URL: