Homework, Chapter 2
Name: _________________________________________
Date: _________________________________________
Concept
Questions (Short answer)
4. (a) Describe what is meant by the term method.
(b) What does a method define?
5. (a) Which control statement is used in
(b) Which control statement is used in
6. What is meant by the phrase "one block
of code can be nested in
another"?
7. How do you know whether a computer program
has a bug?
8. What is the purpose of a set instruction?
9. If comments are ignored by
10. What built-in method is used to:
(a) change the
orientation of an object
(b) display a
comic-book style text bubble on the screen
(c) synchronize
the movement of one object to the movement of another