Difference between revisions of "IB Computer Science 1"
From WLCS
Line 1: | Line 1: | ||
+ | == Friday (10/3/14) == | ||
+ | '''Agenda:''' | ||
+ | * Demo missing assignments | ||
+ | * Make sure you've demoed [[Monte Carlo Calculation of Pi]] | ||
+ | * Introduction to Functions | ||
+ | * Introduction to Python Turtle | ||
+ | ** [http://docs.python.org/py3k/library/turtle.html Python turtle library] | ||
+ | * Complete [[Turtle - Moving and Drawing Assignment]] (practice with function calls) | ||
+ | * Complete [[Turtle - House Function Assignment]] (practice defining a function) | ||
+ | * Complete [[Turtle - Looping Assignment]] (practice loops with turtle) | ||
+ | |||
== Wednesday - Thursday (10/1/14 - 10/2/14) == | == Wednesday - Thursday (10/1/14 - 10/2/14) == | ||
'''Warmup:''' | '''Warmup:''' |
Revision as of 07:20, 6 October 2014
Contents
- 1 Friday (10/3/14)
- 2 Wednesday - Thursday (10/1/14 - 10/2/14)
- 3 Monday - Tuesday (9/29/14 - 9/30/14)
- 4 Thursday - Friday (9/25/14 - 9/26/14)
- 5 Tuesday - Wednesday (9/23/14 - 9/24/14)
- 6 Friday - Monday (9/19/14 - 9/22/14)
- 7 Wednesday - Thursday (9/17/14 - 9/18/14)
- 8 Monday - Tuesday (9/15/14 - 9/16/14)
- 9 Thursday - Friday (9/11/14 - 9/12/14)
- 10 Tuesday - Wednesday (9/9/14 - 9/10/14)
- 11 Friday - Monday (9/5/14 - 9/8/14)
- 12 Wednesday (9/3/14 - 9/4/14)
- 13 Tuesday (9/2/14)
Friday (10/3/14)
Agenda:
- Demo missing assignments
- Make sure you've demoed Monte Carlo Calculation of Pi
- Introduction to Functions
- Introduction to Python Turtle
- Complete Turtle - Moving and Drawing Assignment (practice with function calls)
- Complete Turtle - House Function Assignment (practice defining a function)
- Complete Turtle - Looping Assignment (practice loops with turtle)
Wednesday - Thursday (10/1/14 - 10/2/14)
Warmup:
- Create a turtle program that draws a staircase across the screen
Agenda:
- Introduction to Functions
- Complete HTTLACS: Ch 3 Exercises
- Introduction to Python Turtle
- Complete Turtle - Moving and Drawing Assignment (practice with function calls)
- Complete Turtle - House Function Assignment (practice defining a function)
- Complete Turtle - Looping Assignment (practice loops with turtle)
Monday - Tuesday (9/29/14 - 9/30/14)
Warmup:
- Prompt the user for a username and password
- Check if the username and password are correct (your choice as to what they are)
- If the login is successful, then print a message saying so
- Else, allow the user to try 5 times total before printing a message that says that they are locked out
Agenda:
- Demo Looping Exercises
- Work on Monte Carlo Calculation of Pi
- Introduction to Python Turtle
- Work on Turtle - Moving and Drawing Assignment (practice with function calls)
Thursday - Friday (9/25/14 - 9/26/14)
Agenda:
- Demo missing assignments
- Work on Looping Exercises
- Work on Monte Carlo Calculation of Pi
Tuesday - Wednesday (9/23/14 - 9/24/14)
Agenda:
- Demo Prime numbers assignment if you have not already done so
- Complete Guessing Game Assignment
- Work on Looping Exercises
Friday - Monday (9/19/14 - 9/22/14)
Warmup:
- Write a loop that prints out all the even numbers from 80 down to 18
Agenda:
- Looping practice Review
- 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
- Upcoming assignments
Wednesday - Thursday (9/17/14 - 9/18/14)
Agenda:
- Demo Geek Flow Chart Assignment
- Introduction to Loops
- Codecademy
- Sign up for an account on Codecademy if you do not already have one
- Read and complete the section on while loops through "break" (#1-6). Do not do while/else
- 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
- Upcoming assignments
Monday - Tuesday (9/15/14 - 9/16/14)
Warmup:
- Make sure you've turned in everything to Google Classroom
Agenda:
- Programming Challenges
- Introduction to Conditionals
- if statement
- if-else statement
- nested if statements
- MPAA calculator assignment
- Geek Flow Chart Assignment
Thursday - Friday (9/11/14 - 9/12/14)
Warmup:
- Write a program to calculate the area of a trapezoid
- Prompt the user for base 1
- Prompt the user for base 2
- Prompt the user for the height
- Calculate and print out the area
Agenda:
- Complete and demo Quadratic Formula Assignment
- 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/9/14 - 9/10/14)
Warmup:
- Turn in your signed syllabus if you have it. Due by the end of the week!
- Log into your accounts
- Username: first initial + last name (e.g. pbui)
- Password: student ID#
Agenda:
- 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: ###"
- 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: ###"
- Quadratic Formula Assignment
Friday - Monday (9/5/14 - 9/8/14)
Warmup:
- Turn in your syllabus if you have it signed
- Google Classroom
- Sign into your APS Google accounts
- Class code: xkh7hhq
- Submit your Hello World program from last class to Google Classroom
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 (9/3/14 - 9/4/14)
Agenda:
- Complete the Student Survey if you have not already done so
- Introductions
- Misc logistics
- 20/10 no pass policy
- Location of bathrooms
- Sign in/out sheets
- IB Computer Science I Syllabus
- Signed syllabus sheets due by the end of next week (9/12/14)
- Google Classroom
- Sign into your APS Google accounts
- Class code: xkh7hhq
- IT Resources for Students (UserID: StudentID# and Password: Birthday)
- Google Apps - http://www.apsva.us/google
- Dropbox - http://www.dropbox.com
- Others (Skydrive, etc.)
- What is computer science?
- Introduction to Python
- WingIDE 101
- Hello world program
- Submit your Hello world program via Google Classroom
Tuesday (9/2/14)
- Introductions
- Name cards
- Guest login
- Username: guest
- No password (just hit enter)
- Complete the Student Survey