Difference between revisions of "IB Computer Science 1"

From WLCS
Line 18: Line 18:
 
*** Windows-Left/Right = Tile Window to Left/Right
 
*** Windows-Left/Right = Tile Window to Left/Right
 
*** Windows-Up = Maximize
 
*** Windows-Up = Maximize
 +
 
* Introduction to Python
 
* Introduction to Python
 
** [http://www.pythontutor.com http://www.pythontutor.com] - Code Visualizer
 
** [http://www.pythontutor.com http://www.pythontutor.com] - Code Visualizer
 
** WingIDE 101
 
** WingIDE 101
 
** [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
 
+
** [http://www.reddit.com/r/dailyprogrammer Reddit: DailyProgrammer]
 +
* [[Media:BasicProgrammingTerms.ppt]]
 +
* Introduction to Values, Types, and Variables
 +
** [[Media:ValuesTypesVariables.ppt]]
 +
** [[Values, Types, and Variables Identification assignment]]
 +
* Input and Output
 +
** [[Media:PythonInputOutput.ppt]]
 +
* 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: ###"
  
 
'''Homework:'''
 
'''Homework:'''

Revision as of 08:16, 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
  • 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