Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Created March 20, 2013 02:10
Show Gist options
  • Save seyDoggy/5201779 to your computer and use it in GitHub Desktop.
Save seyDoggy/5201779 to your computer and use it in GitHub Desktop.
Chapter 9 Review questions.

Problem Solving and Programming Concepts

Adam Merrifield (2697795).

Chapter 9 Review Questions: pg 397

  1. c. A method can contain one or more other methods.
  2. a. a header
  3. c. in scope
  4. b. a value in a method call
  5. d. parameter list
  6. b. a local name for the parameter
  7. c. must have the same name
  8. b. myMethod(12, "Hello")
  9. a. num
  10. d. myMethod(test, "A")
  11. c. match the data type used before the method name in the header
  12. b. passed by value
  13. c. returns nothing
  14. a. passed by reference
  15. a. name
  16. a. num cal cul ateTaxes(stri ng name, num amount)
  17. d. ambiguous
  18. d. none of the above
  19. c. implementation hiding
  20. b. increase cohesion
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment