Difference between revisions of "CS1 - January"
From WLCS
(Removing all content from page) |
|||
Line 1: | Line 1: | ||
+ | == Tuesday - Thursday (1/26/10 - 1/28/10) == | ||
+ | '''Warmup:''' | ||
+ | * Bring up your Catch code | ||
+ | * For each of the following, find the section of code that handles it, and put a comment there | ||
+ | ** Opens the graphics window | ||
+ | ** Detects keyboard buttons being pressed | ||
+ | ** Moves the ball a little bit | ||
+ | ** Displays the player and computer scores on the screen | ||
+ | ** Checks if the ball and mitt have collided | ||
+ | ** Refreshes (updates) the screen | ||
+ | '''Regular:''' | ||
+ | * Review warmup | ||
+ | * [[Pong]] | ||
+ | |||
+ | '''IB:''' | ||
+ | * [[Item collection game]] | ||
+ | |||
+ | == Friday (1/22/10) == | ||
+ | '''Regular:''' | ||
+ | * [http://openbookproject.net/thinkCSpy/ch08.html Catch!] | ||
+ | |||
+ | '''IB:''' | ||
+ | * [[Item collection game]] | ||
+ | |||
+ | == Wednesday (1/20/10) == | ||
+ | * Rise of the Video Game: Part 1 | ||
+ | |||
+ | == Tuesday - Thursday (1/12/10 - 1/15/10) == | ||
+ | '''Warmup:''' | ||
+ | * [https://www.arlingtonva.us/departments/treasurer/forms/DecalVote10_11.asp Vehicle Decal Vote] | ||
+ | |||
+ | '''Agenda:''' | ||
+ | * Demo missing work - Thursday is your last day for the quarter! | ||
+ | ** [[Guessing Game Assignment]] | ||
+ | ** [[Print Shapes Exercises]] | ||
+ | ** [[Printing Initials Assignment]] | ||
+ | ** [[Looping Exercises]] | ||
+ | |||
+ | == Friday (1/8/10) == | ||
+ | * 2nd Quarter Exam | ||
+ | |||
+ | == Wednesday (1/6/10) == | ||
+ | '''Agenda:''' | ||
+ | * 2nd Quarter Exam will be on Friday (1/8/10) | ||
+ | * 2nd Quarter Exam Review | ||
+ | ** [[Media:2ndQExamReview.txt]] | ||
+ | * input, output, variables, and math expressions | ||
+ | * functions | ||
+ | * if statements | ||
+ | ** comparison operators | ||
+ | *** == | ||
+ | *** != | ||
+ | *** < | ||
+ | *** > | ||
+ | *** <= | ||
+ | *** >= | ||
+ | ** Boolean operators | ||
+ | *** and | ||
+ | *** or | ||
+ | * while loops | ||
+ | ** sequences | ||
+ | ** break keyword | ||
+ | |||
+ | * Demo all of the following assignments: | ||
+ | ** [[Guessing Game Assignment]] | ||
+ | ** [[Print Shapes Exercises]] | ||
+ | ** [[Printing Initials Assignment]] | ||
+ | ** [[Looping Exercises]] | ||
+ | |||
+ | == Monday (1/4/10) == | ||
+ | '''Warmup:''' | ||
+ | * In three words, summarize your winter break | ||
+ | |||
+ | '''Agenda:''' | ||
+ | * 2nd Quarter Exam will be on Friday (1/8/10) | ||
+ | * If-statement review | ||
+ | *# Prompt the user to enter a username and store it in a variable named '''username''' | ||
+ | *# Prompt the user to enter a password and store it in a variable named '''password''' | ||
+ | *# Using an if-statement, check if the username equals "admin" '''and''' the password equals a password of your choosing | ||
+ | *# If the login is successful, then print that the "You have successfully logged in" | ||
+ | *# If the login fails, then print "Authentication failure!" | ||
+ | * While statement | ||
+ | *# Practice: Write a loop that prints out 1 through 5 | ||
+ | *# Write a while loop that runs exactly 5 times, each time the loop runs, print out "Login Trial #N" where N is the loop counter | ||
+ | *# Take the if-statement code and put it inside the loop | ||
+ | *# If the user successfully logs in, then also '''break''' out of the loop using the '''break''' keyword | ||
+ | * Demo all of the following assignments: | ||
+ | ** [[Guessing Game Assignment]] | ||
+ | ** [[Print Shapes Exercises]] | ||
+ | ** [[Printing Initials Assignment]] | ||
+ | ** [[Looping Exercises]] | ||
+ | |||
+ | == Archives == | ||
+ | * [[CS1 - June]] | ||
+ | * [[CS1 - May]] | ||
+ | * [[CS1 - April]] | ||
+ | * [[CS1 - March]] | ||
+ | * [[CS1 - February]] | ||
+ | * [[CS1 - January]] | ||
+ | * [[CS1 - December]] | ||
+ | * [[CS1 - November]] | ||
+ | * [[CS1 - October]] | ||
+ | * [[CS1 - September]] |
Revision as of 09:49, 3 May 2010
Contents
Tuesday - Thursday (1/26/10 - 1/28/10)
Warmup:
- Bring up your Catch code
- For each of the following, find the section of code that handles it, and put a comment there
- Opens the graphics window
- Detects keyboard buttons being pressed
- Moves the ball a little bit
- Displays the player and computer scores on the screen
- Checks if the ball and mitt have collided
- Refreshes (updates) the screen
Regular:
- Review warmup
- Pong
IB:
Friday (1/22/10)
Regular:
IB:
Wednesday (1/20/10)
- Rise of the Video Game: Part 1
Tuesday - Thursday (1/12/10 - 1/15/10)
Warmup:
Agenda:
- Demo missing work - Thursday is your last day for the quarter!
Friday (1/8/10)
- 2nd Quarter Exam
Wednesday (1/6/10)
Agenda:
- 2nd Quarter Exam will be on Friday (1/8/10)
- 2nd Quarter Exam Review
- input, output, variables, and math expressions
- functions
- if statements
- comparison operators
- ==
- !=
- <
- >
- <=
- >=
- Boolean operators
- and
- or
- comparison operators
- while loops
- sequences
- break keyword
- Demo all of the following assignments:
Monday (1/4/10)
Warmup:
- In three words, summarize your winter break
Agenda:
- 2nd Quarter Exam will be on Friday (1/8/10)
- If-statement review
- Prompt the user to enter a username and store it in a variable named username
- Prompt the user to enter a password and store it in a variable named password
- Using an if-statement, check if the username equals "admin" and the password equals a password of your choosing
- If the login is successful, then print that the "You have successfully logged in"
- If the login fails, then print "Authentication failure!"
- While statement
- Practice: Write a loop that prints out 1 through 5
- Write a while loop that runs exactly 5 times, each time the loop runs, print out "Login Trial #N" where N is the loop counter
- Take the if-statement code and put it inside the loop
- If the user successfully logs in, then also break out of the loop using the break keyword
- Demo all of the following assignments: