Difference between revisions of "IB Computer Science 1"

From WLCS
Line 22: Line 22:
 
* Demo [[Morse Code Translator]]
 
* Demo [[Morse Code Translator]]
 
* Work on [[Pig Latin Translator]]
 
* Work on [[Pig Latin Translator]]
 
== Friday (10/31/14) ==
 
'''Agenda:'''
 
* Complete [[Morse Code Translator]]
 
* Test out your translator backwards and forwards.  Use plain2morse.py to get the morse code, and then paste that exact morse code into morse2plain.py to see if you get back your original plaintext.
 
 
== Wednesday - Thursday (10/29/14 - 10/30/14) ==
 
'''Agenda:'''
 
* 1st Quarter Exam
 
* Complete [[Morse Code Translator]]
 
* Test out your translator backwards and forwards.  Use plain2morse.py to get the morse code, and then paste that exact morse code into morse2plain.py to see if you get back your original plaintext.
 
 
== Thursday - Tuesday (10/22/14 - 10/28/14) ==
 
'''Agenda:'''
 
* 1st Quarter Exam - Wednesday, Thursday (10/29/14, 10/30/14)
 
** Closed-note, closed-person
 
** Multiple choice
 
** All topics up through strings
 
*** Values, variables, types
 
*** Math expressions, order of operations
 
*** Conditionals (if statements, booleans, comparisons, and, or, not)
 
*** Iteration (while loops, loop counters, break)
 
*** Functions (definitions, function calls, return)
 
*** 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 ==
 
== Archives ==
 +
* [[IBCS1 - 1415 - October]]
 
* [[IBCS1 - 1415 - September]]
 
* [[IBCS1 - 1415 - September]]

Revision as of 09:16, 14 November 2014

Thursday - Friday (11/13/14 - 11/14/14)

Agenda:

Monday - Wednesday (11/10/14 - 11/12/14)

Agenda:

Thursday - Friday (11/7/14 - 11/7/14)

Agenda:

Monday - Wednesday (11/3/14 - 11/5/14)

Agenda:

Archives