10.Most programmers consciously make decisions about cohesiveness for each method they
write.
Chapter 9 Quiz
1.
A method that calls itself is a ____.
2. Programmers use the term ____ to describe any extra time and resources required by an
operation.
3.
A calling method sends a(n) ____ to a called method.
4. Every time you call a method, the address to which the program should return at the
completion of the method is stored in a memory location called the ____.
5. ____ refers to how the internal statements of a method serve to accomplish the method’s
purpose.
6. A variable passed into a method is passed by ____.
7. List the items that must be included within the method declaration parentheses.
8. Discuss loose coupling.
9. Describe what a method’s return statement can return.
10. List the four things that you need to know when you want to use a method