Homework 8: Due November 16th

 

Note:

An actual parameter (called argument in the book) is in the calling statement. A formal parameter (called parameter in the book) is in the method header. The values returned from a value-returning method are used in one of three ways:

Study Questions

  1. Complete checkpoints 5.1 - 5.5.
  2. What are arguments?
  3. Write the method header for a method named study1 that is passed two integers and returns no values.
  4. Write a calling statement to method study1.
  5. What does it mean to pass by value?
  6. When you pass a String object describe what happens when you change its value.
  7. String objects in Java are immutable. What does that mean?
  8. Complete checkpoints 5.7 - 5.10.
  9. What is a local variable?
  10. Are local variables initialized with a default value?
  11. How many values can a value-returning method return?
  12. How do you indicate that a method is returning a value?
  13. Can a value-returning method return a boolean value?
  14. Complete checkpoints 5.11 - 5.14.
  15. Complete Multiple Choice and True/False questions 1-4, 8, 10-20.
  16. Complete Find the Error questions 1-4.
  17. Complete Algorithm Workbench questions 1-9.

Email Me | Office Hours | My Home Page | Department Home | MCC Home Page

© Copyright Emmi Schatz 2013