|
|
(3 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | == Thursday (1/29/09) ==
| |
− | '''Warmup:'''
| |
− | * Prompt the user for a sentence
| |
− | * Print the sentence backwards
| |
| | | |
− | '''Agenda:'''
| |
− | * Where were we? (progress checks)
| |
− | * Complete Pong by the end of today
| |
− | ** Your games should have two players (paddles)
| |
− | ** The ball should be able to bounce off of paddles
| |
− | ** Balls that pass paddles should increase the score properly
| |
− | ** The game should keep track of the score and one player should ultimately win
| |
− | * Advanced GASP
| |
− | ** Sounds
| |
− | ** Images
| |
− |
| |
− | == Wednesday - Friday (1/21/09 - 1/23/09) ==
| |
− | * Introduction HTTLACS: Ch8
| |
− | * Pong
| |
− | ** Use the HTTLACS Ch8 Case Study to create Pong
| |
− | ** [http://www.ibiblio.org/jelkner/gasp_lessons/html/G-gasp.html Gasp Documentation]
| |
− | ** After you have created pong, add sound
| |
− | *** [[Media:Pong.wav]]
| |
− |
| |
− | == Thursday (1/15/09) ==
| |
− | * Demo [[Pig Latin Translator]]
| |
− | * GASP graphics review
| |
− | * Introduction HTTLACS: Ch8
| |
− |
| |
− | == Tuesday (1/13/09) ==
| |
− | '''Agenda:'''
| |
− | * Rise of the Video Game: Part I
| |
− |
| |
− | == Friday (1/9/09) ==
| |
− | '''Agenda:'''
| |
− | * 2nd Quarter Exam
| |
− | ** Closed-book part - 10-15 minutes
| |
− | ** Open-book part - 20-30 minutes ([[IB CS1 2nd Quarter Exam]])
| |
− |
| |
− | == Wednesday (1/7/09) ==
| |
− | '''Agenda:'''
| |
− | * Demo any missing work
| |
− | * [[Pig Latin Translator]]
| |
− | * 2nd Quarter Exam Review
| |
− | ** Variables, expressions, and statements
| |
− | ** Functions
| |
− | *** function header
| |
− | *** function definitions
| |
− | *** function calls
| |
− | *** parameters
| |
− | *** return statements
| |
− | ** Conditionals
| |
− | *** Boolean values and variables
| |
− | *** modulus (%) operator
| |
− | *** comparison operators (e.g., <, >)
| |
− | *** logical operators (e.g., and, or)
| |
− | *** Boolean conditional expressions (e.g., 2 > x and y < 3)
| |
− | *** if statements
| |
− | *** if-elif-else statements
| |
− | ** Iteration (looping)
| |
− | *** while and for loops
| |
− | *** counter variables
| |
− | *** infinite loops
| |
− | *** break
| |
− | ** Strings (IB-pace only)
| |
− | *** [] operator
| |
− | *** len() function
| |
− | *** string slices
| |
− | *** string traversal (strings + loops)
| |
− |
| |
− | == Monday (1/5/09) ==
| |
− | '''Warmup:'''
| |
− | * Describe in three words what you did over winter break
| |
− | * Assume you have the following code:
| |
− |
| |
− | <source lang="python">
| |
− | i = 0
| |
− | n = 0
| |
− | while n < 90:
| |
− | i = 0
| |
− | while i < 10:
| |
− | n += 3
| |
− | if n > 50:
| |
− | break
| |
− | i += 1
| |
− | n += 1
| |
− | </source>
| |
− |
| |
− | * What is the value of ''n'' after the above code executes? DO NOT USE YOUR COMPUTER.
| |
− |
| |
− | '''Agenda:'''
| |
− | * Demo late [[E-mail Harvester Assignment]]
| |
− | * [[Pig Latin Translator]]
| |
− |
| |
− | == Archives ==
| |
− | * [[IBCS1 - December]]
| |
− | * [[IBCS1 - November]]
| |
− | * [[IBCS1 - October]]
| |
− | * [[IBCS1 - September]]
| |