Difference between revisions of "CS1 - 1112 - May"

From WLCS
(Created page with "== Thursday (5/31/12) == * Java class creation review ** Media:IntroClasses.ppt ** Circle class practice ** Rectangle class practice ** Contact class lab assignment == T...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== Thursday (5/31/12) ==
+
== Tuesday - Thursday (5/28/12 - 5/31/12) ==
* Java class creation review
+
* Demo any missing assignments
** [[Media:IntroClasses.ppt]]
+
** [[Advanced Python List Exercises]]
** Circle class practice
 
** Rectangle class practice
 
** [[Contact class lab assignment]]
 
  
== Tuesday (5/21/12) ==
+
== Monday (5/21/12) ==
* Make sure you have completed:
+
* [[Advanced Python List Exercises]]
** 10 problems in [http://codingbat.com/java/Array-1 Java-Array-1]
 
** 6 problems in [http://codingbat.com/java/Array-2 Java-Array-2]
 
* Object-Oriented Programming in Java (Introduction to Classes)
 
** [[Media:IntroClasses.ppt]]
 
** Circle class practice
 
** Rectangle class practice
 
** [[Contact class lab assignment]]
 
  
== Thursday (5/17/12) ==
+
== Saturday (5/19/12) ==
* Complete at least 10 problems in [http://codingbat.com/java/Array-1 Java-Array-1]
+
* Scratch Workshop
* Complete at least 6 problems in [http://codingbat.com/java/Array-2 Java-Array-2]
+
** [https://docs.google.com/spreadsheet/viewform?formkey=dFp2cmpueER1LVM1RDFMTnBWOC1YZ0E6MQ Registration]
 +
** [[Media:IntroductionToScratch.pptx]]
  
== Friday - Tuesday (5/11/12 - 5/15/12) ==
+
== Tuesday - Friday (5/15/12 - 5/18/12) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Demo Java Functions Practice
+
* Complete all 12 exercises from [http://codingbat.com/python/List-1 Python > List-1]
* Half of the class has yet to complete 9 exercises from [http://codingbat.com/java/String-2 Java->String-2]
+
* Begin working on [[Advanced Python List Exercises]]
** [[Media:JavaStrings_Basic.ppt]]
+
 
* Introduction to Java Arrays
+
== Friday - Monday (5/11/12 - 5/14/12) ==
** [[Media:JavaArrays_Basic.ppt]]
+
'''Agenda:'''
* Walk through a couple array problems
+
* Demo missing assignments
* Complete at least 10 problems in [http://codingbat.com/java/Array-1 Java-Array-1]
+
** [[Python List Exercises]]
* Complete at least 6 problems in [http://codingbat.com/java/Array-2 Java-Array-2]
+
* Complete all 12 exercises from [http://codingbat.com/python/List-1 Python > List-1]
 +
* '''If you are a senior, please complete the following surveys:'''
 +
** [https://spreadsheets.google.com/viewform?hl=en&formkey=cmpucDFrRDJUekY5VEphYzE2V25ZSVE6MA..#gid=0 Graduating Senior Survey]
 +
** [https://spreadsheets.google.com/viewform?formkey=dERxTUlReGxiTEowMlpVTnNjazJsbUE6MQ End-of-Course Survey]
 +
 
 +
== Thursday (5/10/12) ==
 +
'''Warmup:'''
 +
# Create a python program named '''listWarmup.py'''
 +
# Create a list named '''students''' and have it contain the names of 5 other students in the room
 +
# Print out '''students'''
 +
 
 +
'''Agenda:'''
 +
* Introduction to Lists
 +
** [[Media:Lists_Python.ppt]]
 +
** Complete the [[Python List Exercises]]
  
 
* '''If you are a senior, please complete the following surveys:'''
 
* '''If you are a senior, please complete the following surveys:'''
Line 36: Line 41:
  
 
== Monday - Wednesday (5/7/12 - 5/9/12) ==
 
== Monday - Wednesday (5/7/12 - 5/9/12) ==
* Methods & functions in Java
+
'''Warmup:'''
*# Do you want the method/function to be usable by other files?
+
# Create a python program named '''shoppingWarmup.py'''
*#* Yes - '''public'''
+
# Think of 5 different food items for a grocery list
*#* No - '''private'''
+
# Put each of the items in variables
*# static (just put it there)
+
# Print out all the items
*# Do you want the method/function to return anything?
+
 
*#* Yes - put the return type (e.g. '''int''', '''double''', '''String''', etc.)
+
'''Agenda:'''
*#* No - '''void'''
+
* Demo missing assignments
*# What do you want the name of the method/function to be?
+
* Introduction to Lists
*#* Must be all one word, no spaces (follows same rules as variable names)
+
** [[Media:Lists_Python.ppt]]
*# Do you want the method/function to have any input '''parameters'''?
+
** Complete the [[Python List Exercises]]
*#* No - just have empty parentheses
+
 
*#* Yes - declare the variable parameters and their types in the parentheses
+
== Thursday - Friday (5/3/12 - 5/4/12) ==
** Example template: public/private  static  RETURNTYPE  FUNCTIONNAME(PARAMETERS)
+
'''Agenda:'''
** Example: public static int functionName(int x, int y)
+
* Demo [[E-mail Harvester Assignment]]
* Java Functions Practice
+
* Demo [[Pig Latin Translator]]
# '''int compare(int a, int b)'''
+
* Demo [[Python Function Exercises]]
#* Define a compare(int a, int b) function that returns 1 if a > b, 0 if a == b, and -1 if a < b
 
#* Test your compare function with 3 different function calls:
 
#** compare(5, 4)
 
#** compare(7, 7)
 
#** compare(2, 3)
 
# '''double hypotenuse(double a, double b)'''
 
#* Define a hypotenuse(double a, double b) function that returns the length of the hypotenuse of a right triangle given the lengths of legs a and b
 
#* Test your hypotenuse function with the following function calls:
 
#** hypotenuse(3, 4)
 
#** hypotenuse(12, 5)
 
#** hypotenuse(7, 24)
 
# '''double f2c(double t)'''
 
#* Define a function named f2c(double t) that converts the temperature parameter t from Fahrenheit to Celsius and returns it.
 
#* If you don't remember the formula to convert, then look for it online!
 
#* Create your own function calls that test the function
 
# '''double c2f(double t)'''
 
#* Define a function named c2f(double t) that converts the temperature parameter t from Celsius to Fahrenheit and returns it.
 
#* If you don't remember the formula to convert, then look for it online!
 
#* Create your own function calls that test the function
 
  
== Tuesday - Thursday (5/1/12 - 5/2/12) ==
+
== Tuesday - Wednesday (5/1/12 - 5/2/12) ==
* Demo the following today:
+
'''Agenda:'''
** [[Quadratic Formula Assignment]]
+
* Electronics, game play, and other distractions discussion
** [[MPAA calculator assignment]]
+
* Demo [[E-mail Harvester Assignment]]
** [[Guessing Game Assignment]]
+
* Complete [[Pig Latin Translator]]
** [[Print Shapes Exercises]]
 
** [[Looping Exercises]]
 

Latest revision as of 16:09, 28 August 2012

Tuesday - Thursday (5/28/12 - 5/31/12)

Monday (5/21/12)

Saturday (5/19/12)

Tuesday - Friday (5/15/12 - 5/18/12)

Agenda:

Friday - Monday (5/11/12 - 5/14/12)

Agenda:

Thursday (5/10/12)

Warmup:

  1. Create a python program named listWarmup.py
  2. Create a list named students and have it contain the names of 5 other students in the room
  3. Print out students

Agenda:

Monday - Wednesday (5/7/12 - 5/9/12)

Warmup:

  1. Create a python program named shoppingWarmup.py
  2. Think of 5 different food items for a grocery list
  3. Put each of the items in variables
  4. Print out all the items

Agenda:

Thursday - Friday (5/3/12 - 5/4/12)

Agenda:

Tuesday - Wednesday (5/1/12 - 5/2/12)

Agenda: