Difference between revisions of "CS1 - 1213 - March"
From WLCS
(Created page with "== Monday - Friday (3/25/13 - 4/1/13) == * Spring Break == Tuesday - Thursday (3/19/13 - 3/21/13) == '''Agenda:''' * Demo Print Shapes Exercises * Complete [[Looping Exercis...") |
(No difference)
|
Revision as of 07:39, 8 April 2013
Contents
Monday - Friday (3/25/13 - 4/1/13)
- Spring Break
Tuesday - Thursday (3/19/13 - 3/21/13)
Agenda:
- Demo Print Shapes Exercises
- Complete Looping Exercises by the end of the week
Friday (3/15/13)
Warmup:
- Write a while loop that prints the numbers 50 to 100
Agenda:
- Demo Guessing Game Assignment
- Looping practice exercises
- 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
- Complete Print Shapes Exercises
Wednesday (3/13/13)
Agenda:
- Demo missing assignments:
- MPAA calculator assignment
- Fast Food Nutritional Menu
- Complete and demo Guessing Game Assignment
Thursday - Monday (3/7/13/ - 3/11/13)
Warmup:
- Complete the Order of Operations Quiz
- Do not make mistakes!
- No partial credit given
- All or nothing
- Remember the order of operations!
Agenda:
- Demo MPAA calculator assignment
- Old school menu systems
- Print out the menu on multiple lines
- Prompt the user for an option
- Use if statements to check the input and do different things for different options
- Fast Food Nutritional Menu
- Print out a menu of at least 5 different fast food items (your choice)
- Prompt the user to choose one of the choices
- Use if statements to see what they ordered, and then print out the number of calories in that specific food item
- Introduction to Iteration (looping)
- while loops
- loop conditions
- Guessing Game Assignment
Tuesday (3/5/13)
- Demo Python Boolean Exercises
- Complete MPAA calculator assignment
- Old school menu systems
- Print out the menu on multiple lines
- Prompt the user for an option
- Use if statements to check the input and do different things for different options
- Fast Food Nutritional Menu
- Print out a menu of at least 5 different fast food items (your choice)
- Prompt the user to choose one of the choices
- Use if statements to see what they ordered, and then print out the number of calories in that specific food item
Friday (3/1/13)
Warmup:
- Without using a computer, identify the syntax errors in the following code
username = input(Username: )
password = input("Password: "
if username = "admin":
if password == "secret"
print(Logged in successfully!"
else:
pint("Incorrect password!")
else
print("Incorrect username!")
Agenda:
- if-statements
- if-else statement
- Username/Password example
- Media:BooleanLogic.ppt
- Logical operators assignment
- it-statement examples w/ logical operators
- Python Boolean Exercises