Difference between revisions of "IB Computer Science 1"
From WLCS
Line 1: | Line 1: | ||
+ | == Wednesday - Thursday (9/17/14) == | ||
+ | '''Agenda:''' | ||
+ | * Demo [[Geek Flow Chart Assignment]] | ||
+ | * 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/15/14 - 9/16/14) == | == Monday - Tuesday (9/15/14 - 9/16/14) == | ||
'''Warmup:''' | '''Warmup:''' |
Revision as of 13:33, 17 September 2014
Contents
Wednesday - Thursday (9/17/14)
Agenda:
- Demo Geek Flow Chart Assignment
- 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/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