Difference between revisions of "IB Computer Science 1"

From WLCS
 
Line 1: Line 1:
== Monday - Tuesday (10/21/13 - 10/22/13) ==
+
== [[IBCS1 - Archives]] ==
'''Agenda:'''
 
* Make sure you have completed [http://codingbat.com/python/Logic-1 Logic-1]
 
* Introduction to Strings
 
** [[Media:Strings_Python.pptx]]
 
** Complete [[Python String Exercises]] and share with Mr. Bui
 
** Complete the last 4 string warm-ups from [[http://codingbat.com/python/Warmup-1 Warmup-1]]
 
** Complete 6 exercises from [http://codingbat.com/python/String-1 String-1]
 
** NOTE: If you have already done CodingBat, then complete ALL the exercises from [http://codingbat.com/python/String-1 String-1]
 
 
 
== Thursday - Friday (10/17/13 - 10/18/13) ==
 
'''Agenda:'''
 
* Review functions
 
* Demo [[Turtle - Graphing Calculator]]
 
* Complete [http://codingbat.com/python/Logic-1 Logic-1] by the beginning of next week
 
 
 
== Tuesday - Wednesday (10/15/13 - 10/16/13) ==
 
'''Agenda:'''
 
* Make sure that you have completed the basic [[Turtle - Graphing Calculator]]
 
* Read section '''6.1''' of [http://openbookproject.net/thinkcs/python/english3e/fruitful_functions.html Fruitful Functions] and pay attention to the '''return''' keyword
 
* Skim/review [http://www.pythonforbeginners.com/python-functions-cheat-sheet/ Python Functions Cheat Sheet]
 
* 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/10/13 - 10/11/13) ==
 
* [http://jamtech.me/ JAMTECH]
 
* Add turtle graphics to your [[Monte Carlo Calculation of Pi]]
 
* Work on [[Turtle - Graphing Calculator]]
 
 
 
== Friday - Wednesday (10/4/13 - 10/9/13) ==
 
'''Warmup:'''
 
* Execute the code below
 
* When prompted, use 100 for x and 200 for y
 
* What does each line do?  Analyze!
 
 
 
<syntaxhighlight lang="Python">
 
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)
 
exitonclick()
 
</syntaxhighlight>
 
 
 
'''Agenda:'''
 
* Complete [[Turtle - Looping Assignment]] (practice loops with turtle)
 
* Add turtle graphics to your [[Monte Carlo Calculation of Pi]]
 
* Work on [[Turtle - Graphing Calculator]]
 
 
 
== Wednesday - Thursday (10/2/13 - 10/3/13) ==
 
'''Agenda:'''
 
* Functions review
 
* Introduction to Python Turtle
 
** [http://docs.python.org/py3k/library/turtle.html Python turtle library]
 
* Complete [[Turtle - Moving and Drawing Assignment]] (practice with function calls)
 
* Work on [[Turtle - House Function Assignment]] (practice defining a function)
 
* Work on [[Turtle - Looping Assignment]] (practice loops with turtle)
 
 
 
== Tuesday (10/1/13) ==
 
* Complete [[Monte Carlo Calculation of Pi]]
 
* Introduction to Functions
 
** Complete [[HTTLACS: Ch 3 Exercises]]
 
* Introduction to Python Turtle
 
** [http://docs.python.org/py3k/library/turtle.html Python turtle library]
 
* Work on [[Turtle - Moving and Drawing Assignment]] (practice with function calls)
 
 
 
== Archives ==
 
* [[IBCS1 - 1314 - September]]
 

Latest revision as of 08:28, 13 September 2023