Difference between revisions of "CS1 - 1415 - January"
From WLCS
(Created page with "== Thursday (1/29/15) == '''Agenda:''' * Boolean Logic Quiz * Complete Codecademy - PygLatin * Complete Codecademy - Functions * Introduction to Functions *# Define functions at ...") |
m (Protected "CS1 - 1415 - January" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
(No difference)
|
Latest revision as of 11:08, 2 February 2015
Contents
Thursday (1/29/15)
Agenda:
- Boolean Logic Quiz
- Complete Codecademy - PygLatin
- Complete Codecademy - Functions
- Introduction to Functions
- Define functions at the top of the file
- Only use variables that you send in as parameters or create in the function
- return information, do not just print()
- Function calls always have parentheses!
Tuesday (1/27/15)
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:
- Complete and demo MPAA calculator assignment
- Quiz on Thursday (1/29/15)
- Comparison operators (<, <=, >, >=, ==, !=)
- Logical operators (and, or, not)
- if-statements
- if-else statements
- Complete Codecademy - PygLatin
- Complete Codecademy - Functions
Friday (1/23/15)
Agenda:
- Python Boolean Exercises - complete and turn into Google Classroom
- Complete and demo MPAA calculator assignment
Wednesday (1/21/15)
Agenda:
- *Free* summer STEM workshop for 8th & 9th grade students @ VaTech and UVA!
- http://blast.spacegrant.org/
- Application Deadline: Monday (2/2/15)
- Introduction to Conditionals
- Comparison operators (<, >, <=, >=, ==, !=)
- Boolean values: True, False
- Comparison operators assignment
- if statement
age = int(input("What is your age?"))
if age < 18:
print("You cannot vote")
- if-else statement
- Media:BooleanLogic.ppt
- Logical operators assignment
- Python Boolean Exercises - complete and turn into Google Classroom
Thursday (1/15/15)
Agenda:
- Demo missing assignments
- Quadratic Formula Assignment
- Codecademy through Conditionals & Control Flow
Tuesday (1/13/15)
Warmup:
- Without using a computer, identify the syntax errors in the following code
a b = 1
b + 2 = c
print(1, 2, 3, a, b, c)
x = input(please enter an x)
Agenda:
- Complete and demo the Quadratic Formula Assignment
- Continue on to Codecademy - Conditionals & Control Flow
Friday (1/9/15)
Warmup:
- Make sure that you have completed the following Codecademy units:
- Python Syntax
- Tip Calculator
- Strings & Console Output
- Date and Time
Agenda:
- Media:PythonInputOutput.ppt
- Math programs practice
- Calculating the area of a triangle
- Calculating the distance between two points
- Calculating the circumference of a circle
Wednesday (1/7/15)
- Make sure you've completed the Codecademy's Python Syntax and Tip Calculator
- Media:BasicProgrammingTerms.ppt
- Answer the questions at the end of the PowerPoint and submit to Google Classroom
- Introduction to Values, Types, and Variables
- Media:ValuesTypesVariables.ppt
- Complete Values, Types, and Variables Identification assignment and submit to Google Classroom
- Codecademy Strings
- Complete Strings & Console Output
- Complete Date and Time
Monday (1/5/15)
- Complete missing presentations
- Introduction to Python
- Hello world program
- WingIDE 101
- Sign up for an account on Codecademy
- Complete Python Syntax
- Complete Tip Calculator