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

Thursday - Friday (10/9/14 - 10/10/14)

Agenda:

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:

Friday - Monday (10/3/14 - 10/6/14)

Agenda:

Wednesday - Thursday (10/1/14 - 10/2/14)

Warmup:

  • Create a turtle program that draws a staircase across the screen

Agenda:

Archives