Difference between revisions of "IB Computer Science 1"

From WLCS
Line 24: Line 24:
 
** [http://en.wikipedia.org/wiki/Hello_world_program Hello world program]
 
** [http://en.wikipedia.org/wiki/Hello_world_program Hello world program]
 
* Experienced Students Option
 
* Experienced Students Option
** [http://www.reddit.com/r/dailyprogrammer Reddit: DailyProgrammer]
+
** Go to Links->Programming Practice
 +
** Or work ahead as fast as you can by accessing Links->Archived Websites
 
* [[Media:BasicProgrammingTerms.ppt]]
 
* [[Media:BasicProgrammingTerms.ppt]]
 
* Introduction to Values, Types, and Variables
 
* Introduction to Values, Types, and Variables

Revision as of 11:22, 11 September 2015

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