IB Computer Science 1
From WLCS
Contents
Wednesday (9/18/13)
Agenda:
- Demo Geek Flow Chart Assignment
- Complete Python Boolean Exercises
- Operators Review
- Math operators (+, -, *, /, **, %)
- Comparison operators (<, <=, >, >=, ==, !=)
- Conditional operators (and, or, not)
- Introduction to Loops
- while loop
- counter variables
- Looping practice
- 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
- Print out all the numbers that are divisible by 6 from 0 through 100
- Challenge
- Prompt the user to enter a number
- Use a loop to determine whether or not the number is a prime number
Monday - Tuesday (9/16/13 - 9/17/13)
Agenda:
- Conditional Control Flow Review
- if statements
- if-else statement
- nested if statements
- Demo MPAA calculator assignment
- Work on Geek Flow Chart Assignment
Thursday - Friday (9/12/13 - 9/13/13)
Agenda:
- Introduction to Conditionals
- Comparison operators (<, >, <=, >=, ==, !=)
- Boolean values: True, False
- Comparison operators assignment
- Media:BooleanLogic.ppt
- Logical operators assignment
- if statement
- if-else statement
- nested if statements
- MPAA calculator assignment
- Geek Flow Chart Assignment
Tuesday - Wednesday (9/10/13 - 9/11/13)
Agenda:
- Review
- Mad Libs
- Circle
- Slope
- Math Operations
- Addition +
- Subtraction -
- Multiplication *
- Division /
- Exponential **
- Order of operations!
- Be sure to have completed the Mad Libs, Circle, and Slope exercises
- Quadratic Formula Assignment
Friday - Monday (9/6/13 - 9/9/13)
Warmup:
- Login to your account
- Username: first initial + lastname (e.g. pbui)
- Password: student ID#
- Open Wing101
Agenda:
- Media:BasicProgrammingTerms.ppt
- Introduction to Values, Types, and Variables
- Input and Output
- 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: ###"
- Slope calculation exercise
- Prompt the user to enter x1 (this should be a float)
- Prompt the user to enter y1 (this should be a float)
- Prompt the user to enter x2 (this should be a float)
- Prompt the user to enter y2 (this should be a float)
- Calculate and print out the slope. Make sure your output looks like: "Slope: ###"
Wednesday - Thursday (9/4/13 - 9/5/13)
Agenda:
- Lab setup/config
- Login username is your first initial and lastname (e.g. pbui)
- Your password is your student ID number
- You may customize your account/desktop however you wish (school-appropriate)
- Acceptable-use policies apply in this lab!
- Complete the Student Survey
- Introductions
- Misc logistics
- 20/10 no pass policy
- Location of bathrooms
- Sign in/out sheets
- IB Computer Science I Syllabus
- IT Resources for Students (UserID: StudentID# and Password: Birthday)
- Google Apps - http://www.apsva.us/google
- Dropbox - http://www.dropbox.com
- etc.
- Introduction to Python
- WingIDE 101
- Hello world program
Homework:
- Signed syllabus sheet due by the end of next week (9/13/13). You may turn it in anytime before then.
Tuesday (9/3/13)
- Introductions
- Name cards
- Lab setup/config
- Login username is your first initial and lastname (e.g. pbui) (for today...use "guest")
- Your password is your student ID number (for today...no password)
- Go to Apple (upper left) -> System Preferences -> Accounts -> Change Password (we'll do this later)
- Acceptable-use policies apply in this lab!
- Complete the Student Surveys