Difference between revisions of "IB Computer Science 1"

From WLCS
 
Line 1: Line 1:
== Tuesday - Thursday (2/14/12 - 2/16/12) ==
+
== [[IBCS1 - Archives]] ==
'''Warmup:'''
 
* Assume you are given the following code:
 
 
 
<syntaxhighlight lang="Python">
 
a = ???
 
b = ???
 
 
 
#Using an additional variable, swap the values in a and b (even though you don't know what they are)
 
</syntaxhighlight>
 
 
 
'''Agenda:'''
 
* Complete [[Advanced Python List Exercises]]
 
* Introduction to Nested Lists
 
** Nested List Practice
 
** Application in matrices
 
** Other applications
 
* Nested List Practice
 
*# Create a program that calculates the determinant of a 2x2 matrix
 
*# Create a program that calculates the determinant of a 3x3 matrix
 
*# Create a program that multiplies two matrices against each other
 
 
 
== Wednesday - Friday (2/8/12 - 2/10/12) ==
 
'''Warmup:'''
 
* [http://codingbat.com/prob/p108886 Python > List-2 > sum67]
 
 
 
'''Agenda:'''
 
* Demo [[Advanced Python List Exercises]] through Min/Max
 
* Demo [[Turtle - List Assignment]]
 
* Complete [[Advanced Python List Exercises]]
 
* For loop
 
 
 
== Monday (2/6/12) ==
 
'''Warmup:'''
 
* On a separate sheet of paper, write out the algorithm to find the minimum number in a list of numbers
 
 
 
'''Agenda:'''
 
* [[Advanced Python List Exercises]]
 
** You should be completed through Min/Max
 
* [[Turtle - List Assignment]]
 
 
 
== Tuesday - Thursday (1/31/12 - 2/2/12) ==
 
'''Warmup:'''
 
* Create a Python Turtle program that tells the turtle to move forward 100
 
* Don't forget about exitonclick()
 
 
 
'''Agenda:'''
 
* [[Advanced Python List Exercises]]
 
** You should be completed through Min/Max
 
* [[Turtle - List Assignment]]
 
 
 
== Archives ==
 
* [[IBCS1 - 1112 - January]]
 
* [[IBCS1 - 1112 - December]]
 
* [[IBCS1 - 1112 - November]]
 
* [[IBCS1 - 1112 - October]]
 
* [[IBCS1 - 1112 - September]]
 

Latest revision as of 08:28, 13 September 2023