Computers and the Humanities 220

Linguistic Computer Programming 1

Lesson 7
Lesson 7 Questions/Exercises (Chapter 10)
Review and be able to answer the following questions in class or on a test.  You are not required to turn the answers in at this time.
1. Define the following:
  • Procedure
  • Subroutine
  • Function
  • General-purpose Procedure
  • Arguments
  • Public
2. How could you have used a subroutine in the dictionary project to reduce your code?
3. What is the difference between a Function and a Subroutine?  When would you use one or the other?
4. Describe the difference between passing arguments by value or by reference.  When would you use one or the other?
5. What is a "Public" or "Global" variable?  When would you use one?

Chum 220 ID:

CHum 220 Password:

Time spent outside of class:   Hours. (For example: 1.5 or 2)

     
Magic Box: (Questions, feedback, suggestions, short thought, short joke, ...)

     


By clicking the "Submit" button you verify that you have honestly reviewed the above questions and completed any activities.