Lab, Chapter 4 Section 2 Parameters

advertisement
Lab, Chapter 4 Section 2
Parameters
Name: ___________________________________Date: ___________________________________
Exercises from Chapter 4
1. Complete Exercise 5.
Beetle Band Duet: __________
2. Complete Exercise 6.
Frog Escape: __________
3. Complete Exercise 8.
Dragons: __________
Concept Questions (Short Answer)
4. List four types of parameters available in Alice.
5. Why would we want to use a parameter in a method?
6. A parameter is sometimes described as "acting as a placeholder." What does this mean?
7. In a method call, what is the purpose of an argument?
8. Suppose a classmate missed the instructor's presentation on how to import a sound file. To help your friend
learn this process, write a list of steps for importing a sound file. Include a diagram or sketch to illustrate the
steps.
Download