Difference between revisions of "IB Computer Science 1"

From WLCS
Line 1: Line 1:
 +
== 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]]
 +
 
== Tuesday - Wednesday (9/9/14 - 9/10/14) ==
 
== Tuesday - Wednesday (9/9/14 - 9/10/14) ==
 
'''Warmup:'''
 
'''Warmup:'''

Revision as of 13:36, 11 September 2014

Thursday - Friday (9/11/14 - 9/12/14)

'Warmup:

  1. Write a program to calculate the area of a trapezoid
  2. Prompt the user for base 1
  3. Prompt the user for base 2
  4. Prompt the user for the height
  5. Calculate and print out the area

Agenda:

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
    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

Friday - Monday (9/5/14 - 9/8/14)

Warmup:

  1. Turn in your syllabus if you have it signed
  2. Google Classroom
    • Sign into your APS Google accounts
    • Class code: xkh7hhq
  3. 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
    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: ###"

Wednesday (9/3/14 - 9/4/14)

Agenda:

Tuesday (9/2/14)

  • Introductions
  • Name cards
  • Guest login
    • Username: guest
    • No password (just hit enter)
  • Complete the Student Survey