Computer Science
From WLCS
Contents
- 1 Friday - Tuesday (3/13/15 - 3/17/15)
- 2 Monday - Wednesday (3/9/15 - 3/11/15)
- 3 Thursday (3/5/15)
- 4 Tuesday (3/3/15)
- 5 Wednesday - Friday (2/25/15 - 2/27/15)
- 6 Monday (2/23/15)
- 7 Thursday (2/19/15)
- 8 Thursday (2/12/15)
- 9 Friday - Tuesday (2/6/15 - 2/10/15)
- 10 Wednesday (2/4/15)
- 11 Monday (2/2/15)
- 12 Archives
Friday - Tuesday (3/13/15 - 3/17/15)
- 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:
- 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 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 CodingBat and create an account
- Login and go to prefs->teacher share and use
- Complete 2 exercises from 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