Difference between revisions of "HTTLACS: Ch 3 Exercises"
From WLCS
(Created page with "'''Directions:''' # Open a text editor (Applications->Accessories->gEdit Text Editor) # Put your name at the top # Save the file as YOURLASTNAME_ch3.txt # Complete the exercises ...") |
|||
Line 7: | Line 7: | ||
'''Exercises:''' | '''Exercises:''' | ||
− | # | + | # Define the term: '''function definition''' |
+ | # Where are '''all''' function definitions supposed to be placed? (HINT: It's like GvR) | ||
+ | # Define the term: '''function header''' | ||
+ | # Define the term: '''function body''' | ||
+ | # What does a '''function call''' do? | ||
+ | # Write a function named '''new_line()''' that prints out an empty line | ||
'''Submit:''' | '''Submit:''' | ||
* Submit the file to [http://wlhs.schoolweblockers.com/ School Web Lockers] | * Submit the file to [http://wlhs.schoolweblockers.com/ School Web Lockers] |
Revision as of 08:24, 12 October 2010
Directions:
- Open a text editor (Applications->Accessories->gEdit Text Editor)
- Put your name at the top
- Save the file as YOURLASTNAME_ch3.txt
- Complete the exercises below in this file. If you use DrPython, then be sure to copy your code back into this file
- Be sure to number each of your answers!!
Exercises:
- Define the term: function definition
- Where are all function definitions supposed to be placed? (HINT: It's like GvR)
- Define the term: function header
- Define the term: function body
- What does a function call do?
- Write a function named new_line() that prints out an empty line
Submit:
- Submit the file to School Web Lockers