Difference between revisions of "CS1 - 1314 - February"
From WLCS
(Created page with "== Friday (2/28/14) == '''Warmup:''' * Without using a computer, identify the syntax errors in the following code <syntaxhighlight lang="Python"> a b = 1 b + 2 = c print(1, 2, 3...") |
m (Protected "CS1 - 1314 - February" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading]) |
(No difference)
|
Latest revision as of 08:18, 2 April 2014
Contents
Friday (2/28/14)
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)
- 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
Wednesday (2/26/14)
Warmup:
- Write a program named circleArea.py
- Create a variable named PI = 3.1415
- Prompt the user for the radius (ask for input) and store it in a variable r
- Output the area of the circle
Agenda:
- Input/Output Review
- Complete the Quadratic Formula Assignment
Monday (2/24/14)
Warmup:
- Sign into Codecademy - Python
- Show Mr. Bui that you have completed Codecademy - Python Syntax
- Show Mr. Bui that you have completed Codecademy - Tip Calculator
Agenda:
- Media:PythonInputOutput.ppt
- Complete the Quadratic Formula Assignment
Thursday (2/20/14)
Agenda:
- Introduction to Values, Types, and Variables
- Media:ValuesTypesVariables.ppt
- Complete Values, Types, and Variables Identification assignment in your APS Google Drive
- Math operations in Python
- Rectangle area program (rectArea.py)
- Create 2 variables named length, width and give them some values
- Calculate the area and store it in a variable named area
- Print out the area
- Slope calculator program (slope.py)
- Create 4 variables named x1, y1, x2, y2 and give them some values
- Calculate the slope using those variables and store it in a variable named m
- HINT: If you can't remember the formula for something, look it up
- Print out the slope
Homework:
- Python Review on Codecademy
- Sign into Codecademy - Python
- Complete Codecademy - Python Syntax
- Complete Codecademy - Tip Calculator
Tuesday (2/18/14)
Warmup:
- Make sure that you shared your Computer hardware assignment Google document w/ Mr. Bui
- Create an account on Codecademy
Agenda:
- Media:BasicProgrammingTerms.ppt
- Answer the questions at the end of the PowerPoint
- Introduction to Python
- WingIDE 101
- Hello world program
- Introduction to Values, Types, and Variables
- Media:ValuesTypesVariables.ppt
- Complete Values, Types, and Variables Identification assignment in your APS Google Drive
Tuesday (2/11/14/)
Agenda:
- Complete Computer hardware assignment
- Be sure to share your Google document w/ Mr. Bui
- Quiz on Media:Hardware.pptx!
- You should be able to identify the name of the part just by looking at it
- You should be able to describe what the part does
- You should be able to use the binary prefixes: bit and byte
Friday (2/7/14)
Warmup:
- Create an account at PCPartPicker
Agenda:
- Computer hardware assignment
- How do you take a screenshot?
- Press Command-Shift-4
- Select the area on the screen
- The image will appear on your desktop
- How do you choose a computer case?
- Check the size of your motherboard (e.g. ATX, mini-ATX, micro-ATX, etc.) and match it with the case
- Make sure your case looks cool
- Complete the Computer hardware assignment today
- Make sure you share the document with Mr. Bui
- Quiz on the different computer components on Tuesday (2/11/14)
- You should be able to identify the name of the part just by looking at it
- You should be able to explain what that part basically does
Wednesday (2/5/14)
Agenda:
- Introduction to Computer Hardware
Monday (2/3/14)
Agenda: