Difference between revisions of "Computer Science"

From WLCS
Line 47: Line 47:
 
'''Agenda:'''
 
'''Agenda:'''
 
* Work on [[Looping Exercises]]
 
* Work on [[Looping Exercises]]
 
== Wednesday - Friday (2/25/15 - 2/27/15) ==
 
'''Agenda:'''
 
* Complete and demo [[Guessing Game Assignment]]
 
* Work on [[Looping Exercises]]
 
 
== Monday (2/23/15) ==
 
'''Agenda:'''
 
* Work on Looping practice with a partner
 
*# Print out all the numbers from 0-50
 
*# Print out all the numbers from 75 down to 25
 
*# Write a loop that prints out the first 100 even numbers
 
*# Prompt the user for a number and store it in a variable n, then print out the first n odd numbers (starting at 1) using a loop
 
*# Print out all the numbers that are divisible by 6 from 0 through 100
 
* Complete [[Guessing Game Assignment]]
 
 
== Thursday (2/19/15) ==
 
'''Agenda:'''
 
* Demonstrate #2, 3 of [[Turtle - Looping Assignment]]
 
* Demonstrate to Mr. Bui a turtle design that uses looping
 
* Looping practice
 
*# Print out all the numbers from 0-50
 
*# Print out all the numbers from 75 down to 25
 
*# Write a loop that prints out the first 100 even numbers
 
*# Prompt the user for a number and store it in a variable n, then print out the first n odd numbers (starting at 1) using a loop
 
*# Print out all the numbers that are divisible by 6 from 0 through 100
 
 
== Thursday (2/12/15) ==
 
'''Agenda:'''
 
* Demo missing assignments
 
* Codecademy - Lists & Dictionaries optional right now
 
* Introduction to Loops
 
** while loop
 
** loop counters
 
* Complete #1, 2, 3 of [[Turtle - Looping Assignment]]
 
* Create your own turtle loop designs. Be creative
 
 
== Friday - Tuesday (2/6/15 - 2/10/15) ==
 
'''Warmup:'''
 
* Complete 1 exercise from [http://codingbat.com/python/Warmup-1 CodingBat-Warmup-1]
 
 
'''Agenda:'''
 
* Demonstrate that you have completed Codecademy up through Taking a Vacation
 
* Complete and demo [[Turtle - Initials Assignment]]
 
* Continue on through Codecademy and complete Lists & Dictionaries
 
 
== Wednesday (2/4/15) ==
 
'''Agenda:'''
 
* Demo any missing assignments
 
* Complete and demo [[Turtle - Moving and Drawing Assignment]]
 
* Complete Codecademy - Taking a Vacation
 
* [[Turtle - Initials Assignment]]
 
 
== Monday (2/2/15) ==
 
'''Warmup:'''
 
# Go to [http://codingbat.com/ CodingBat] and create an account
 
# Login and go to '''prefs->teacher share''' and use [[Image:BuiEmail.bmp]]
 
# Complete 2 exercises from [http://codingbat.com/python/Warmup-1 Warmup-1] (do not look up the solutions)
 
 
'''Agenda:'''
 
* Demo missing Codecademy (you should be done through Functions)
 
* Function Review
 
*# Define functions at the top of the file
 
*# Only use variables that you send in as parameters or create in the function
 
*# '''return''' information, do not just print()
 
*# Function calls always have parentheses!
 
* Practice function calls
 
** Complete and demo [[Turtle - Moving and Drawing Assignment]]
 
* Complete Codecademy - Taking a Vacation
 
  
 
== Archives ==
 
== Archives ==

Revision as of 08:26, 23 March 2015

Wednesday - Thursday (3/18/15 - 3/19/15)

Warmup:

  • Search the Python turtle documentation and find the function that is used to get the turtle's pen size
  • Search the Python turtle documentation and find the function that is used to change the turtle's pen size
  • Search the Python turtle documentation and find the function that will clear all the drawings from the screen

Agenda:

Friday - Tuesday (3/13/15 - 3/17/15)

Agenda:

  • Demo any missing assignments
  • Demo Monte Carlo Calculation of Pi
  • Demo the Turtle visualization of Monte Carlo Calculation of Pi
  • Turtle colors
  • Turtle writing: write()
  • Turtle mouse-clicking: onscreenclick()
  • Simple paint program walk-through
  • Try implementing the following functionalities:
    • Different colors
    • Eraser
    • Increase/Decrease pensize
    • Polygon draw

Monday - Wednesday (3/9/15 - 3/11/15)

  • Got-A-Gadget @ Central Library (3:30pm, Thursday, 3/12/15)
    • Great community service opportunity
  • Demo Looping Exercises
  • Monte Carlo Calculation of Pi
    • If you finish the console version, then implement a graphical version of Monte Carlo Pi using Python Turtle

Thursday (3/5/15)

  • Snow Day

Tuesday (3/3/15)

Agenda:

Archives