Pre-Lab 4: Due Friday 26 June,

advertisement
Pre-Lab 4: Due Friday 26 June,
at the start of class
By typing your name below, you are pledging that the answers below are your own and not those of someone else.
Name:
___________________________________________________
Read Chapter 4 and answer the following study questions
1. Give two reasons for writing your own methods (aka procedures).
2. What is meant by the term “parameter?”
3. Why would we want to use a parameter in a procedure?
4. A parameter is sometimes described as “acting as a placeholder.” What does this mean?
5. In a method (procedure) call, what is the purpose of an argument?
6. What is meant by the term “inheritance?”
Download