Difference between revisions of "IB Computer Science 1"

From WLCS
(Thursday = Wednesday (10/22/14 - 10/23/14))
 
Line 1: Line 1:
== Thursday - Wednesday (10/22/14 - 10/23/14) ==
+
== [[IBCS1 - Archives]] ==
'''Agenda:'''
 
* 1st Quarter Exam next week (10/29/14, 10/30/14)
 
** Closed-note, closed-person
 
** Multiple choice
 
** All topics up through strings
 
** Turtle programming will involve drawing a picture when you are given turtle code
 
* Demo missing assignments
 
* Demo 6 completed exercises from [http://codingbat.com/python/Logic-1 Logic-1]
 
* Demo 6 completed exercises from [http://codingbat.com/python/String-1 String-1]
 
* Complete on [[Leet-speak Translator]]
 
* Work on [[Morse Code Translator]]
 
 
 
== Tuesday (10/21/14) ==
 
'''Agenda:'''
 
* Demo missing assignments
 
* Functions Reviewed
 
** 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 6 exercises from [http://codingbat.com/python/Logic-1 Logic-1] (do not look up the solutions)
 
* 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]
 
* Complete on [[Leet-speak Translator]]
 
* Work on [[Morse Code Translator]]
 
 
 
== Thursday - Monday (10/16/14 - 10/20/14) ==
 
'''Warmup:'''
 
* Complete the [https://docs.google.com/forms/d/1eyTktRcmlyB0pzaQEh2v5XP-ON9FZkQ_yk5wBC81ApA/viewform Dual Enrollment Test Score Survey]
 
 
 
'''Agenda:'''
 
* Demo missing assignments:
 
** [[Monte Carlo Calculation of Pi]]
 
** [[Turtle - Graphing Calculator]]
 
* 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 6 exercises from [http://codingbat.com/python/Logic-1 Logic-1] (do not look up the solutions)
 
* 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]
 
 
 
== 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 6 exercises from [http://codingbat.com/python/Logic-1 Logic-1] (do not look up the solutions)
 
 
 
== 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!
 
 
 
<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)
 
done()
 
</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]]
 
 
 
== 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
 
** [http://docs.python.org/py3k/library/turtle.html Python turtle library]
 
* 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
 
** [http://docs.python.org/py3k/library/turtle.html Python turtle library]
 
* 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)
 
 
 
== Archives ==
 
* [[IBCS1 - 1415 - September]]
 

Latest revision as of 08:28, 13 September 2023