IB Computer Science 1
From WLCS
Contents
Monday (10/2/17)
Agenda:
- Programming Club & CyberPatriot Meeting
- After schools, Mondays, Room 4209
- Interims closing
- Last assignment of interim is the Processing emoji
- Period 1
- Demo missing assignments (e.g. Tech Support Flow Chart Assignment)
- Demo your emoji in Processing
- Introduction to Functions
- Functions: House Assignment
- Instead of house, you may convert your emoji code into a function that draws the emoji at specific (x, y) coordinates
- Period 5
- TBA
Thursday (9/28/17)
Agenda:
- Period 1
- Nested if-statements
- Work on Tech Support Flow Chart Assignment
- Introduction to Processing - Python Mode
- Download and install Processing
- Install Python Mode (upper right corner)
- HOMEWORK: Draw your favorite emoji using Processing
- Period 5
- Introduction to Processing
- Draw and demo your favorite emoji using Processing
Back to School Night (9/27/17)
Tuesday (9/26/17)
Agenda:
- Java Pre-Assessment
- Demo Letter Grade Calculator
- Nested if-statements
- Work on Tech Support Flow Chart Assignment
- Introduction to Processing - Python Mode
- Download and install Processing
- Install Python Mode (upper right corner)
Friday (9/22/17)
Agenda:
- if statements
- Media:PythonIfStatements.pptx
- if-statement examples
- if-else examples
- Logic operators: and, or, not
- Media:PythonBooleanLogic.pptx
- Complete Logical operators assignment on Canvas
- Evaluate the following comparisons with logic operators (assume x = 2; y = 5)
- x + 2 > y or y < 10
- not(x < y) and y > 2 * x
- y > 0 and y < 10 or x > 10 and x < 20
- x + y != 5 and x - y < 0
- x == 2 and y != 5
- x != y or y >= x
- Letter Grade Calculator
- Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
- Note: Your program should be able to handle floating-point numbers!
- Use if-statements, comparison operators, and logical operators (and, or, not)
- Print out the appropriate letter grade for the number (A, B+, B, C+, C, D+, D, E)
- Note: Your program should round letter grades appropriately (Example: grade >= 89.5 is an A)
- Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
- Tech Support Flow Chart Assignment
Wednesday (9/20/17)
Agenda:
- Quadratic Formula Assignment
- Demo to Mr. Bui when completed
- Introduction to Booleans & Conditionals
- Comparison operators (<, >, <=, >=, ==, !=)
- Boolean values: True, False
- Complete Comparison operators assignment on Canvas
- if statements
- Media:PythonIfStatements.pptx
- if-statement examples
- if-else examples
- Logic operators: and, or, not
- Media:PythonBooleanLogic.pptx
- Complete Logical operators assignment on Canvas
- Evaluate the following comparisons with logic operators (assume x = 2; y = 5)
- x + 2 > y or y < 10
- not(x < y) and y > 2 * x
- y > 0 and y < 10 or x > 10 and x < 20
- x + y != 5 and x - y < 0
- x == 2 and y != 5
- x != y or y >= x
- Letter Grade Calculator
- Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
- Note: Your program should be able to handle floating-point numbers!
- Use if-statements, comparison operators, and logical operators (and, or, not)
- Print out the appropriate letter grade for the number (A, B+, B, C+, C, D+, D, E)
- Note: Your program should round letter grades appropriately (Example: grade >= 89.5 is an A)
- Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
Monday (9/18/17)
Agenda:
- Mad Libs exercise
- Prompt the user to enter a noun and store it in a variable named noun
- Prompt the user to enter a verb and store it in a variable named verb
- Prompt the user to enter another noun and store it in a variable named noun2
- Print out a message that contains noun, verb, and noun2
- Circle calculations exercise
- Prompt the user to enter the radius of a circle (this should be a float)
- Calculate and print out the circumference of the circle. Make sure your output looks like: "Circumference: ###"
- Calculate and print out the area of the circle. Make sure your output looks like: "Area: ###"
- Quadratic Formula Assignment
- Demo to Mr. Bui when completed
Thursday (9/14/17)
Warmup:
- Complete the Identifying Types assignment on Canvas if you have not already done so
Agenda:
- Introduction to Values, Types, and Variables
- Values, Types & Variables
- Complete Variable Naming assignment on Canvas
- Input and Output
- Math Operations
- Addition +
- Subtraction -
- Multiplication *
- Division /
- Exponential **
- Order of operations!
- Mad Libs exercise
- Prompt the user to enter a noun and store it in a variable named noun
- Prompt the user to enter a verb and store it in a variable named verb
- Prompt the user to enter another noun and store it in a variable named noun2
- Print out a message that contains noun, verb, and noun2
- Circle calculations exercise
- Prompt the user to enter the radius of a circle (this should be a float)
- Calculate and print out the circumference of the circle. Make sure your output looks like: "Circumference: ###"
- Calculate and print out the area of the circle. Make sure your output looks like: "Area: ###"
- Quadratic Formula Assignment
- Demo to Mr. Bui when completed
Tuesday (9/12/17)
Agenda:
- Introduction to Python
- http://www.pythontutor.com - Code Visualizer
- Hello world program
- Experienced Students Option
- Go to Links->Programming Practice
- Or work ahead as fast as you can by accessing Links->Archived Websites
- [Basic Programming Terms]
- Introduction to Values, Types, and Variables
- [Values, Types & Variables]
- Complete assignments on Canvas
Friday (9/8/17)
Warmup:
- Login to Canvas
- Complete the Collaboration
Agenda:
- Quick Pic Intros
- Introduction to Python
- http://www.pythontutor.com - Code Visualizer
- Hello world program
- Experienced Students Option
- Go to Links->Programming Practice
- Or work ahead as fast as you can by accessing Links->Archived Websites
- Media:BasicProgrammingTerms.ppt
- Introduction to Values, Types, and Variables
Wednesday (9/6/17)
Agenda:
- Attendance
- Misc logistics
- 20/10 no pass policy
- Location of bathrooms
- Sign in/out sheets
- Mr. Bui has A Lunch (1st Lunch) on W-days
- Mr. Bui has 4th period planning on L-Days (so whatever lunch he feels like having that day)
- IB Computer Science I Syllabus
- Sign electronic form by next Monday (9/11/17)
- Introduction to Canvas
- Profiles
- Notifications
- Assignments
- etc.
- Introductions w/ Pictures
- You will be given a group Google presentation
- Create a new slide
- Use your first and last name as your title
- Paste 4 or more images that describe who you are
Homework:
- Signed electronic syllabus by Monday (9/11/17)
- Introductions w/ Pictures collaboration found in Canvas
Tuesday (9/5/17)
Agenda:
- Introductions
- Name cards
Homework:
- Go to Syllabus (on the left)
- Read it
- Complete the agreement form with your parent (you will need your APS Google login)