Difference between revisions of "Computer Science"

From WLCS
Line 13: Line 13:
 
*# Function calls always have parentheses!
 
*# Function calls always have parentheses!
 
* Practice function calls
 
* Practice function calls
** Complete and demo [Turtle - Moving and Drawing Assignment]
+
** Complete and demo [[Turtle - Moving and Drawing Assignment]]
 
* Complete Codecademy - Taking a Vacation
 
* Complete Codecademy - Taking a Vacation
  

Revision as of 12:29, 2 February 2015

Monday (2/2/15)

Warmup:

  1. Go to CodingBat and create an account
  2. Login and go to prefs->teacher share and use BuiEmail.bmp
  3. Complete 2 exercises from Warmup-1 (do not look up the solutions)

Agenda:

  • Demo missing Codecademy (you should be done through Functions)
  • Function Review
    1. Define functions at the top of the file
    2. Only use variables that you send in as parameters or create in the function
    3. return information, do not just print()
    4. Function calls always have parentheses!
  • Practice function calls
  • Complete Codecademy - Taking a Vacation

Archives