Difference between revisions of "IB Computer Science 1"

From WLCS
 
Line 1: Line 1:
== Wednesday - Thursday (10/31/12 - 11/1/12) ==
+
== [[IBCS1 - Archives]] ==
* 1st Quarter Exam Review
 
** 6th period - Friday (11/2/12)
 
** 7th period - Monday (11/5/12)
 
** Exam will be closed-book, closed-note, closed-person
 
** Basic programming terms
 
** Variable names
 
** Values and types
 
** Math operators (+, -, *, /, **, %)
 
** Comparison operators (<, <=, >, >=, ==, !=)
 
** Logical operators (and, or, not)
 
** if statements
 
** while loops
 
** Finding syntax errors
 
** Tracing code (following the code line-by-line)
 
* Introduction to Python Turtle
 
** [http://docs.python.org/py3k/library/turtle.html Python turtle library]
 
* [[Turtle - Moving and Drawing Assignment]] (practice with function calls)
 
* [[Turtle - House Function Assignment]] (practice defining a function)
 
* [[Turtle - Looping Assignment]] (practice loops with turtle)
 
 
 
== Monday (10/29/12) ==
 
* Hurricane Sandy
 
 
 
== Thursday - Friday (10/25/12 - 10/26/12) ==
 
* Introduction to Functions
 
** Complete [[HTTLACS: Ch 3 Exercises]]
 
* Introduction to Python Turtle
 
** [http://docs.python.org/py3k/library/turtle.html Python turtle library]
 
* [[Turtle - Moving and Drawing Assignment]] (practice with function calls)
 
* [[Turtle - House Function Assignment]] (practice defining a function)
 
 
 
== Tuesday - Wednesday (10/23/12 - 10/24/12) ==
 
'''Warmup:'''
 
* Assume you have the following code:
 
 
 
<syntaxhighlight lang="Python" line>
 
a = 0
 
b = 1
 
c = 0
 
a = a + 1
 
c = c + 1
 
b = a * c
 
c = c + 1
 
</syntaxhighlight>
 
 
 
* What are the final values of a, b, and c?
 
 
 
'''Agenda:'''
 
* Complete and demo [[Looping Exercises]]
 
* Complete and demo [[Prime numbers assignment]]
 
 
 
== Friday - Monday (10/19/12 - 10/22/12) ==
 
'''Agenda:'''
 
* Complete and demo [[Looping Exercises]]
 
* Complete and demo [[Prime numbers assignment]]
 
 
 
== Wednesday - Thursday (10/17/12 - 10/18/12) ==
 
'''Warmup:'''
 
# Prompt the user for a number, N
 
# Print out the first N terms of the sequence: 0, 5, 10, 15, 20...
 
 
 
'''Agenda:'''
 
* Looping Exercise hints
 
* [[Looping Exercises]]
 
* [https://docs.google.com/spreadsheet/viewform?formkey=dFk1YzFpa3FrZ2hseTYxZnZkdDRiWkE6MQ Looping exercise survey]
 
 
 
== Monday - Tuesday (10/15/12 - 10/16/12) ==
 
'''Warmup:'''
 
* Write a while loop that prints out your name 8 times
 
 
 
'''Agenda:'''
 
* [[Guessing Game Assignment]]
 
* [[Looping Exercises]]
 
 
 
== Friday (10/12/12) ==
 
* Review of Loops
 
** while loop
 
** counter variables
 
* Looping practice
 
** Print out all the numbers from 0-50
 
** Print out all the numbers from 75 down to 25
 
** Write a loop that prints out the first 100 even numbers
 
** Prompt the user for a number and store it in a variable n, then print out the first n odd numbers (starting at 1) using a loop
 
** Print out all the numbers that are divisible by 6 from 0 through 100
 
* [[Guessing Game Assignment]]
 
 
 
== Tuesday - Thursday (10/9/12 - 10/11/12) ==
 
'''Agenda:'''
 
* Student Release Forms
 
* Missing Demos
 
** [[Python Boolean Exercises]]
 
** [[Geek Flow Chart Assignment]]
 
* Operators Review
 
** Math operators (+, -, *, /, **, %)
 
** Comparison operators (<, <=, >, >=, ==, !=)
 
** Conditional operators (and, or, not)
 
* Introduction to Loops
 
** while loop
 
** counter variables
 
* Looping practice
 
** Print out all the numbers from 0-50
 
** Print out all the numbers from 75 down to 25
 
** Write a loop that prints out the first 100 even numbers
 
** Prompt the user for a number and store it in a variable n, then print out the first n odd numbers (starting at 1) using a loop
 
** Print out all the numbers that are divisible by 6 from 0 through 100
 
* Challenge
 
** Prompt the user to enter a number
 
** Use a loop to determine whether or not the number is a prime number
 
* [[Guessing Game Assignment]]
 
 
 
== Monday - Friday (10/1/12 - 10/5/12) ==
 
'''Agenda:'''
 
* [[Media:BooleanLogic.ppt]]
 
* Complete [[Logical operators assignment]]
 
* Complete [[Python Boolean Exercises]]
 
* Download: The True Story of the Internet: Browser Wars
 
** Complete the worksheet during the documentary
 
* Download: The True Story of the Internet: Search
 
** Complete the worksheet during the documentary
 
 
 
== Archives ==
 
* [[IBCS1 - 1213 - September]]
 

Latest revision as of 08:28, 13 September 2023