Difference between revisions of "IB Computer Science 1"
From WLCS
Line 1: | Line 1: | ||
− | == Thursday (10/16/14) == | + | == Thursday - Friday (10/16/14 - 10/17/14) == |
'''Warmup:''' | '''Warmup:''' | ||
* Complete the [https://docs.google.com/forms/d/1eyTktRcmlyB0pzaQEh2v5XP-ON9FZkQ_yk5wBC81ApA/viewform Dual Enrollment Test Score Survey] | * Complete the [https://docs.google.com/forms/d/1eyTktRcmlyB0pzaQEh2v5XP-ON9FZkQ_yk5wBC81ApA/viewform Dual Enrollment Test Score Survey] | ||
'''Agenda:''' | '''Agenda:''' | ||
+ | * Demo missing assignments: | ||
+ | ** [[Monte Carlo Calculation of Pi]] | ||
+ | ** [[Turtle - Graphing Calculator]] | ||
* CodingBat Python Functions | * CodingBat Python Functions | ||
*# Go to [http://codingbat.com/ CodingBat] and create an account | *# Go to [http://codingbat.com/ CodingBat] and create an account |
Revision as of 07:11, 17 October 2014
Contents
Thursday - Friday (10/16/14 - 10/17/14)
Warmup:
- Complete the Dual Enrollment Test Score Survey
Agenda:
- Demo missing assignments:
- CodingBat Python Functions
- Introduction to Strings
- Media:Strings_Python.pptx
- Complete Python String Exercises and share with Mr. Bui
- Complete the last 4 string warm-ups from Warmup-1
- Complete 6 exercises from String-1
- NOTE: If you have already done CodingBat, then complete ALL the exercises from String-1
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)