Difference between revisions of "Computer Science I"
From WLCS
(→Friday (2/20/09)) |
|||
Line 4: | Line 4: | ||
* Using a loop, traverse (walk through) the string and check if the current character is a space | * Using a loop, traverse (walk through) the string and check if the current character is a space | ||
* Print the character if it is NOT a space | * Print the character if it is NOT a space | ||
− | * Test your code with the following string: "W a s h i n g to n- L ee G en er a l s" | + | * Test your code with the following string: |
+ | <pre> | ||
+ | "W a s h i n g to n- L ee G en er a l s" | ||
+ | </pre> | ||
'''Agenda - Regular:''' | '''Agenda - Regular:''' |
Revision as of 09:14, 20 February 2009
Contents
Friday (2/20/09)
Warmup:
- Prompt the user to enter a string and store it in a variable
- Using a loop, traverse (walk through) the string and check if the current character is a space
- Print the character if it is NOT a space
- Test your code with the following string:
"W a s h i n g to n- L ee G en er a l s"
Agenda - Regular:
- Introduction to Strings
- HTTLACS: Ch 7 #1-4
- E-mail Harvester Assignment
Agenda - IB:
- Pig Latin Translator
- Introduction HTTLACS: Ch 8
- Pong
- Use the HTTLACS Ch8 Case Study to create Pong
- Gasp Documentation
- After you have created pong, add sound
- Try replacing the shapes with school-appropriate images of your choosing
- Item collection game
Wednesday (2/18/09)
Warmup:
- Prompt the user to enter a string and store it in a variable
- Using a loop and an if statement, print each letter of the string that is NOT 'a', 'b', or 'c'
Agenda - Regular:
- Introduction to Strings
- HTTLACS: Ch 7 #1-4
- E-mail Harvester Assignment
Agenda - IB:
- Pig Latin Translator
- Introduction HTTLACS: Ch 8
- Pong
- Use the HTTLACS Ch8 Case Study to create Pong
- Gasp Documentation
- After you have created pong, add sound
- Try replacing the shapes with school-appropriate images of your choosing
- Item collection game
Friday (2/13/09)
Agenda - Regular:
- Looping Exercises
- Introduction to Strings
- HTTLACS: Ch 7 #1-4
Agenda - IB:
- E-mail Harvester Assignment
- Pig Latin Translator
- Introduction HTTLACS: Ch 8
- Pong
- Use the HTTLACS Ch8 Case Study to create Pong
- Gasp Documentation
- After you have created pong, add sound and images
Wednesday (2/11/09)
Warmup - Regular:
- Write a loop that prints out all the squares of 1 through 100
Warmup - IB:
- Create a string variable named s that contains "Washington-Lee Computer Science"
- Write a loop that prints out every other letter of the string
Agenda - Regular:
- Looping Exercises
- Introduction to Strings
- HTTLACS: Ch 7 #1-4
Agenda - IB:
- E-mail Harvester Assignment
- Pig Latin Translator
- Introduction HTTLACS: Ch 8
- Pong
- Use the HTTLACS Ch8 Case Study to create Pong
- Gasp Documentation
- After you have created pong, add sound and images
Monday (2/9/09)
Agenda:
- Why we don't have the internet
- Rise of the Video Game: Part 2
Tuesday - Thursday (2/3/09 - 2/5/09)
Agenda - Regular:
- Looping Exercises
- Introduction to Strings
- HTTLACS: Ch 7 #1-4
Agenda - IB:
- E-mail Harvester Assignment
- Pig Latin Translator
- Introduction HTTLACS: Ch 8
- Pong
- Use the HTTLACS Ch8 Case Study to create Pong
- Gasp Documentation
- After you have created pong, add sound