Difference between revisions of "IB Computer Science 1"
From WLCS
(→Tuesday - Wednesday (10/7/14)) |
|||
Line 1: | Line 1: | ||
+ | == Tuesday (10/14/14) == | ||
+ | '''Agenda:''' | ||
+ | * Demo missing assignments: | ||
+ | ** [[Monte Carlo Calculation of Pi]] | ||
+ | ** [[Turtle - Graphing Calculator]] | ||
+ | * Functions Reviewed | ||
+ | ** return keyword | ||
+ | * Read section '''6.1''' of [http://openbookproject.net/thinkcs/python/english3e/fruitful_functions.html Fruitful Functions] and pay attention to the '''return''' keyword | ||
+ | * CodingBat Python Functions | ||
+ | *# Go to [http://codingbat.com/ CodingBat] and create an account | ||
+ | *# Login and go to '''prefs->teacher share''' and use [[Image:BuiEmail.bmp]] | ||
+ | *# Complete as many of [http://codingbat.com/python/Warmup-1 Warmup-1] as you can before the end of the period (try not to look up the solutions) | ||
+ | |||
== Thursday - Friday (10/9/14 - 10/10/14) == | == Thursday - Friday (10/9/14 - 10/10/14) == | ||
'''Agenda:''' | '''Agenda:''' |
Revision as of 13:11, 14 October 2014
Contents
Tuesday (10/14/14)
Agenda:
- Demo missing assignments:
- Functions Reviewed
- return keyword
- Read section 6.1 of Fruitful Functions and pay attention to the return keyword
- CodingBat Python Functions
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)