Difference between revisions of "IB Computer Science 1"

From WLCS
Line 1: Line 1:
 +
== 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:'''
 +
* 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: ###"
 +
 
== Friday - Monday (9/5/14 - 9/8/14) ==
 
== Friday - Monday (9/5/14 - 9/8/14) ==
 
'''Warmup:'''
 
'''Warmup:'''

Revision as of 10:26, 9 September 2014

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:

  • 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: ###"

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