Computer Science

From WLCS
Revision as of 11:18, 11 January 2011 by Admin (talk | contribs)

Tuesday (1/11/11)

Warmup:

  • Without using the computer, what does the following code display?
from gasp import *
begin_graphics(width=800, height=600, title="Question 23")

x = 0
while x < 100:
  Circle( (400, 300), x )
  Line( (x, 0), (400, 300) )
  x = x + 10

update_when('key_pressed')
end_graphics()

Agenda:

Friday - Monday (1/7/11 - 1/10/11)

Agenda:

  • 2nd Quarter Exam

Wednesday - Thursday (1/5/11 - 1/6/11)

Agenda:

  • 2nd Quarter Exam will be on...
    • Period 1 - Friday (1/7/11)
    • Period 2 - Monday (1/10/11)
  • 2nd Quarter Exam Review
  • input, output, variables, and math expressions
  • functions
    • function definitions
    • function header
    • function body
    • return keyword
  • if statements
    • comparison operators
      • ==
      •  !=
      • <
      • >
      • <=
      • >=
    • Boolean operators
      • and
      • or
      • combining Boolean operators
  • while loops
    • sequences
    • break keyword
  • GASP
  • Catch/Follow game
  • Exam Format:
    • Open and closed-book sections
    • Multiple-choice
    • Short-answer code
    • Identify syntax errors
    • Identify the purpose of code sections
  • Begin working on Pong

Monday - Tuesday (1/3/11 - 1/4/11)

Warmup:

  • Write a while loop that prints your name 10 times

Agenda:

  • Winter Break debrief
  • 2nd Quarter Exams Reminder
  • Following Game Review
  • Begin working on Pong

Archives