HTTLACS: Ch 3 Exercises

From WLCS
Revision as of 08:24, 12 October 2010 by Admin (talk | contribs)

Directions:

  1. Open a text editor (Applications->Accessories->gEdit Text Editor)
  2. Put your name at the top
  3. Save the file as YOURLASTNAME_ch3.txt
  4. Complete the exercises below in this file. If you use DrPython, then be sure to copy your code back into this file
  5. Be sure to number each of your answers!!

Exercises:

  1. Define the term: function definition
  2. Where are all function definitions supposed to be placed? (HINT: It's like GvR)
  3. Define the term: function header
  4. Define the term: function body
  5. What does a function call do?
  6. Write a function named new_line() that prints out an empty line

Submit: