Difference between revisions of "IB Computer Science 1"
From WLCS
(→Tuesday - Wednesday (10/7/14)) |
|||
Line 1: | Line 1: | ||
− | == Tuesday - Wednesday (10/7/14) == | + | == Thursday - Friday (10/9/14 - 10/10/14) == |
+ | '''Agenda:''' | ||
+ | * Demo missing assignments | ||
+ | * Add turtle graphics to your [[Monte Carlo Calculation of Pi]] | ||
+ | * Work on [[Turtle - Graphing Calculator]] | ||
+ | |||
+ | == Tuesday - Wednesday (10/7/14 - 10/8/14) == | ||
'''Warmup:''' | '''Warmup:''' | ||
* Execute the code below | * Execute the code below |
Revision as of 13:36, 9 October 2014
Contents
Thursday - Friday (10/9/14 - 10/10/14)
Agenda:
- Demo missing assignments
- Add turtle graphics to your Monte Carlo Calculation of Pi
- Work on Turtle - Graphing Calculator
Tuesday - Wednesday (10/7/14 - 10/8/14)
Warmup:
- Execute the code below
- When prompted, use 100 for x and 200 for y
- What does each line do? Analyze!
from turtle import *
setup(200, 400)
screensize(200, 400)
x = numinput("X prompt", "Please enter an x")
y = numinput("Y prompt", "Please enter a y")
goto(x,y)
done()
Agenda:
- Complete Turtle - Looping Assignment (practice loops with turtle)
- Add turtle graphics to your Monte Carlo Calculation of Pi
- Work on Turtle - Graphing Calculator
Friday - Monday (10/3/14 - 10/6/14)
Agenda:
- Demo missing assignments
- Make sure you've demoed Monte Carlo Calculation of Pi
- Introduction to Functions
- Introduction to Python Turtle
- Complete Turtle - Moving and Drawing Assignment (practice with function calls)
- Complete Turtle - House Function Assignment (practice defining a function)
- Complete Turtle - Looping Assignment (practice loops with turtle)
Wednesday - Thursday (10/1/14 - 10/2/14)
Warmup:
- Create a turtle program that draws a staircase across the screen
Agenda:
- Introduction to Functions
- Complete HTTLACS: Ch 3 Exercises
- Introduction to Python Turtle
- Complete Turtle - Moving and Drawing Assignment (practice with function calls)
- Complete Turtle - House Function Assignment (practice defining a function)
- Complete Turtle - Looping Assignment (practice loops with turtle)