Difference between revisions of "IB Computer Science 1"

From WLCS
Line 1: Line 1:
== Monday - Tuesday (10/15/12 - 10/16/12) ==
+
== Monday - Wednesday (10/15/12 - 10/17/12) ==
 
'''Warmup:'''
 
'''Warmup:'''
 
* Write a while loop that prints out your name 8 times
 
* Write a while loop that prints out your name 8 times

Revision as of 13:31, 17 October 2012

Monday - Wednesday (10/15/12 - 10/17/12)

Warmup:

  • Write a while loop that prints out your name 8 times

Agenda:

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
  • 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:

Archives