CS1 - 1112 - March

From WLCS

Friday (3/30/12)

Warmup:

  • Write a loop that prints out all the odd numbers from 1 through 99

Period 1 - Agenda:

Period 3 - Agenda:

  • Download: The History of the Internet: Part 1

Wednesday (3/28/12)

Period 3 - Agenda:

  • 3rd Quarter Exam

Monday - Tuesday (3/26/12 - 3/27/12)

Period 1 - Agenda:

  • Iteration (looping) review
  • 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
  • Print Shapes Exercises
  • Make sure you have at least 6 exercises completed from Python > Logic-1

Period 3 - Agenda:

  • 3rd Quarter Exam

Friday (3/23/12)

Period 1 - Agenda:

  • 3rd Quarter Exam

Period 3 - Agenda: Period 3 - Agenda:

Wednesday - Thursday (3/21/12 - 3/22/12)

  • 3rd Quarter Exam Review
    • 1st Period Exam - Friday (3/23/12)
    • 3rd Period Exam - Tue/Wed (3/27-28/12)
    • values, types, variables
    • math operations
    • logical and comparison operations
    • syntax errors
    • functions
    • if-statements (CodingBat Logic-1)
    • while loops (3rd Period only)

Period 1 - Agenda:

Period 3 - Agenda:

Monday - Tuesday (3/19/12 - 3/20/12)

Warmup:

Period 1 - Agenda:

Period 3 - Agenda:

Thursday (3/15/12)

Warmup:

Period 1 - Agenda:

Period 3 - Agenda:

  • 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
  • Print Shapes Exercises

Wednesday (3/14/12)

Warmup:

Agenda:

Monday - Tuesday (3/12/12 - 3/13/12)

Warmup:

Agenda:

Thursday - Friday (3/8/12 - 3/9/12)

Tuesday - Wednesday (3/6/12 - 3/7/12)

Friday - Monday (3/2/12 - 3/5/12)

Warmup:

  1. Prompt the user to enter his/her grade (0-100)
  2. Using if statements, do the following:
    • if the grade is greater than or equal to 90, then print "You have an A"
    • if the grade is less than 90 and the grade is greater than or equal to 80, then print "You have a B"
    • if the grade is less than 80 and the grade is greater than or equal to 70, then print "You have a C"
    • if the grade is less than 70 and the grade is greater than or equal to 60, then print "You have a D"
    • if the grade is less than 60, then print "You have an E"

Agenda:

  • Demo MPAA calculator assignment
  • Old school menu systems
    1. Print out the menu on multiple lines
    2. Prompt the user for an option
    3. Use if statements to check the input and do different things for different options

Thursday (3/1/12)

Warmup:

  • Put your name on your syntax checklist
  • Print it out

Agenda:

  • Syntax checking activity
    • No computers, only your checklist
    • Identify all the syntax errors (there are 10)
from turtle import *

def printSum(x, y)
    z == x + y
    print(z)
    
defe print Diff(x, y):
z = x - yy
    print(d)

1variable = 1
a = 4
b = 2
c = (ab)*3
temp! = 5
printsum(4, 6)
thisVariableHas5 = 5
forward(45
backward(thisVariableHas5)
exitonclick()