Difference between revisions of "IB Computer Science 1"

From WLCS
(Thursday (10/1/15))
Line 20: Line 20:
 
*# Use if-statements, comparison operators, and logical operators (and, or, not)
 
*# 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)
 
*# Print out the appropriate letter grade for the number (A, B+, B, C+, C, D+, D, E)
* [[MPAA calculator assignment]]
+
* Menu System
 +
*# Find a fast food menu that lists different items and their caloric counts
 +
*# Print out a menu of 5 of those items
 +
*# Prompt the user to make a choice of one of the menu items
 +
*# Using if statements, determine what choice the user made, and print out the calories in the order
  
 
== Back to School Night ==
 
== Back to School Night ==

Revision as of 11:26, 1 October 2015

Thursday (10/1/15)

Warmup:

  • Go to Google Classroom and check if you have turned in every lab assignment

Agenda:

  • Back to School Night Debrief
  • Period 1 - Complete Labs 5 & 6
  • Introduction to Conditionals
  • Letter Grade Calculator
    1. Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
    2. Use if-statements, comparison operators, and logical operators (and, or, not)
    3. Print out the appropriate letter grade for the number (A, B+, B, C+, C, D+, D, E)
  • Menu System
    1. Find a fast food menu that lists different items and their caloric counts
    2. Print out a menu of 5 of those items
    3. Prompt the user to make a choice of one of the menu items
    4. Using if statements, determine what choice the user made, and print out the calories in the order

Back to School Night

Tuesday (9/29/15)

Warmup:

  • Go to Google Classroom and check if you have turned in every lab assignment

Agenda:

Friday (9/25/15)

Warmup:

  1. Open a file named warmup_9_25_15.py
  2. Define a function named inch2cm(inches)
  3. It should print the number of cm by using the given parameter/argument inches
  4. Make several function calls to test the function:
    1. inch2cm(1) should print 2.54
    2. inch2cm(5) should print 12.7
    3. inch2cm(12) should print 30.48

Agenda:

Wednesday (9/23/15)

Agenda:

  • Java Pre-assessment
    • Does *not* count for a grade
    • Skip questions that you do not understand
  • Student accounts
    • Username: first initial + last name
    • Password: student ID #
  • Introduction to Functions
    • Math examples
  • Lab 3: Functions
  • Lab 4: More Function Fun

Monday (9/21/15)

Warmup:

  1. Go to Google Classroom
  2. Make sure that you have turned in every assignment (including pyKarel Lab 1)

Agenda:

Thursday (9/17/15)

Agenda:

  • Period 1 - Chair switch
  • WingIDE101 or Wing101
  • Quadratic Formula Assignment
    • Demo to Mr. Bui when completed
    • Be sure to save your quad.py file in your Google Drive
  • Introduction to pyKarel

Tuesday (9/15/15)

Agenda:

  • Experienced Programming Challenges
  • Input and Output Review
  • Math Operations
    • Addition +
    • Subtraction -
    • Multiplication *
    • Division /
    • Exponential **
    • Order of operations!
  • Mad Libs exercise
    1. Prompt the user to enter a noun and store it in a variable named noun
    2. Prompt the user to enter a verb and store it in a variable named verb
    3. Prompt the user to enter another noun and store it in a variable named noun2
    4. Print out a message that contains noun, verb, and noun2
  • Circle calculations exercise
    1. Prompt the user to enter the radius of a circle (this should be a float)
    2. Calculate and print out the circumference of the circle. Make sure your output looks like: "Circumference: ###"
    3. Calculate and print out the area of the circle. Make sure your output looks like: "Area: ###"
  • Slope calculation exercise
    1. Prompt the user to enter x1 (this should be a float)
    2. Prompt the user to enter y1 (this should be a float)
    3. Prompt the user to enter x2 (this should be a float)
    4. Prompt the user to enter y2 (this should be a float)
    5. Calculate and print out the slope. Make sure your output looks like: "Slope: ###"
  • Quadratic Formula Assignment
    • Demo to Mr. Bui when completed

Friday (9/11/15)

Warmup:

  • Re-enroll into Google Classroom
    • Class code:
      • Period 1: aexivy
      • Period 5: p9ix40t
      • Period 7: 7hgrpaf

Agenda:

  • Web Browser and Desktop tricks
    • Tabbed Browsing
    • Tiling windows
    • Keyboard shortcuts
      • Ctrl-T = New Tab
      • Ctrl-Tab = Switch Tabs
      • Ctrl-N = New Window
      • Alt-Tab = Switch Windows
      • Windows-Left/Right = Tile Window to Left/Right
      • Windows-Up = Maximize
  • Introduction to Python
  • 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
  • Input and Output
  • Mad Libs exercise
    1. Prompt the user to enter a noun and store it in a variable named noun
    2. Prompt the user to enter a verb and store it in a variable named verb
    3. Prompt the user to enter another noun and store it in a variable named noun2
    4. Print out a message that contains noun, verb, and noun2
  • Circle calculations exercise
    1. Prompt the user to enter the radius of a circle (this should be a float)
    2. Calculate and print out the circumference of the circle. Make sure your output looks like: "Circumference: ###"
    3. Calculate and print out the area of the circle. Make sure your output looks like: "Area: ###"
  • Slope calculation exercise
    1. Prompt the user to enter x1 (this should be a float)
    2. Prompt the user to enter y1 (this should be a float)
    3. Prompt the user to enter x2 (this should be a float)
    4. Prompt the user to enter y2 (this should be a float)
    5. Calculate and print out the slope. Make sure your output looks like: "Slope: ###"

Homework:

  1. Go to Syllabus (on the left)
  2. Read it
  3. Complete the agreement form with your parent (you will need your APS Google login)

Wednesday (9/9/15)

Homework:

  1. Go to Syllabus (on the left)
  2. Read it
  3. Complete the agreement form with your parent (you will need your APS Google login)

Tuesday (9/8/15)

  • Introductions