Difference between revisions of "IB Computer Science 1"

From WLCS
(Monday - Thursday (5/15/17 - 5/18/17))
(41 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Monday - Thursday (5/15/17 - 5/18/17) ==
+
== Wednesday (9/20/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Complete the [http://nova.mce.cc/ NVCC Dual Enrollment Evaluation]
+
* [[Quadratic Formula Assignment]]
* Complete [https://docs.google.com/forms/d/1dCcfJnCaczrBzeQoagJsZMZxidRFEdI-s4E6h_DJqAM/viewform End-of-Course Survey]
+
** Demo to Mr. Bui when completed
** Summary results will be shown when all students have finished
+
* Introduction to Booleans & Conditionals
* Complete and demonstrate the preliminary Breakout game with the Brick[] array
+
** Comparison operators (<, >, <=, >=, ==, !=)
** Displays bricks, paddle, and ball
+
** Boolean values: True, False
** Ball collides with both paddles and bottom of bricks
+
** Complete Comparison operators assignment on Canvas
** Bricks disappear upon collision
+
* if statements
* Once you have completed and demonstrated the preliminary Breakout game, continue implementing the following features:
+
** [[Media:PythonIfStatements.pptx]]
** Collisions with left, right, and tops of bricks
+
** if-statement examples
** Multiple lives
+
** if-else examples
** Game over when there are no more lives
+
* Logic operators: and, or, not
** Win screen when there are no more bricks
+
** [[Media:PythonBooleanLogic.pptx]]
 +
** Complete Logical operators assignment on Canvas
 +
** Evaluate the following comparisons with logic operators (assume x = 2; y = 5)
 +
**# x + 2 > y or y < 10
 +
**# not(x < y) and y > 2 * x
 +
**# y > 0 and y < 10 or x > 10 and x < 20
 +
**# x + y != 5 and x - y < 0
 +
**# x == 2 and y != 5
 +
**# x != y or y >= x
 +
* Letter Grade Calculator
 +
*# Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
 +
*#* Note: Your program should be able to handle floating-point numbers!
 +
*# 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)
 +
*#* Note: Your program should round letter grades appropriately (Example: grade >= 89.5 is an A)
  
== Thursday - Friday (5/11/17 - 5/12/17) ==
+
== Monday (9/18/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Complete the [http://nova.mce.cc/ NVCC Dual Enrollment Evaluation]
+
* Mad Libs exercise
* Complete and demonstrate the preliminary Breakout game with the Brick[] array
+
*# Prompt the user to enter a noun and store it in a variable named '''noun'''
** Displays bricks, paddle, and ball
+
*# Prompt the user to enter a verb and store it in a variable named '''verb'''
** Ball collides with both paddles and bricks
+
*# Prompt the user to enter another noun and store it in a variable named '''noun2'''
** Bricks disappear upon collision
+
*# 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: ###"
 +
* [[Quadratic Formula Assignment]]
 +
** Demo to Mr. Bui when completed
 +
 
 +
== Thursday (9/14/17) ==
 +
'''Warmup:'''
 +
* Complete the Identifying Types assignment on Canvas if you have not already done so
 +
 
 +
'''Agenda:'''
 +
* Introduction to Values, Types, and Variables
 +
** [https://docs.google.com/a/apsva.us/presentation/d/1iJGcl4qxBXeP1Ex4R6n9FK8RiRVV43hpYKpZlobZQVc/edit?usp=sharing Values, Types & Variables]
 +
** Complete Variable Naming assignment on Canvas
 +
* Input and Output
 +
** [https://docs.google.com/a/apsva.us/presentation/d/18oxLyc3PCjcpSEsXHNpsu-Op97dCbo-VwYKjmU_-d5A/edit?usp=sharing Input/Output (Python)]
 +
* Math Operations
 +
** Addition +
 +
** Subtraction -
 +
** Multiplication *
 +
** Division /
 +
** Exponential **
 +
** Order of operations!
 +
* 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: ###"
 +
* [[Quadratic Formula Assignment]]
 +
** Demo to Mr. Bui when completed
 +
 
 +
== Tuesday (9/12/17) ==
 +
'''Agenda:'''
 +
* Introduction to Python
 +
** [http://www.pythontutor.com http://www.pythontutor.com] - Code Visualizer
 +
** [http://en.wikipedia.org/wiki/Hello_world_program Hello world program]
 +
* Experienced Students Option
 +
** Go to Links->Programming Practice
 +
** Or work ahead as fast as you can by accessing Links->Archived Websites
 +
* [[https://docs.google.com/a/apsva.us/presentation/d/1HHm45Q9RClDLRcVdk8BbJX8On4_D-XQB9nYvYzQjta0/edit?usp=sharing Basic Programming Terms]]
 +
* Introduction to Values, Types, and Variables
 +
** [[https://docs.google.com/a/apsva.us/presentation/d/1iJGcl4qxBXeP1Ex4R6n9FK8RiRVV43hpYKpZlobZQVc/edit?usp=sharing Values, Types & Variables]]
 +
** Complete assignments on Canvas
 +
 
 +
== Friday (9/8/17) ==
 +
'''Warmup:'''
 +
# Login to Canvas
 +
# Complete the Collaboration
  
== Monday - Wednesday (5/8/17 - 5/10/17) ==
 
 
'''Agenda:'''
 
'''Agenda:'''
* Complete the preliminary Breakout game with the Brick[] array
+
* Quick Pic Intros
 +
* Introduction to Python
 +
** [http://www.pythontutor.com http://www.pythontutor.com] - Code Visualizer
 +
** [http://en.wikipedia.org/wiki/Hello_world_program Hello world program]
 +
* 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
 +
** [[Media:ValuesTypesVariables.ppt]]
 +
** [[Values, Types, and Variables Identification assignment]]
  
== Thursday - Friday (5/4/17 - 5/5/17) ==
+
== Wednesday (9/6/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* Interim grades are posting. Assignments thus far:
+
* Attendance
** Emoji
+
* Misc logistics
** Ping w/ Classes/Objects
+
** 20/10 no pass policy
** Breakout/BrickBreaker Warmup
+
** Location of bathrooms
** Preliminary Breakout w/ Brick[] (array)
+
** Sign in/out sheets
* Work on Breakout w/ Brick[] array
+
** Mr. Bui has A Lunch (1st Lunch) on W-days
 +
** Mr. Bui has 4th period planning on L-Days (so whatever lunch he feels like having that day)
 +
* [[IB Computer Science I Syllabus]]
 +
** Sign electronic form by next Monday (9/11/17)
 +
* Introduction to Canvas
 +
** Profiles
 +
** Notifications
 +
** Assignments
 +
** etc.
 +
* Introductions w/ Pictures
 +
*# You will be given a group Google presentation
 +
*# Create a new slide
 +
*# Use your first and last name as your title
 +
*# Paste 4 or more images that describe who you are
 +
 
 +
'''Homework:'''
 +
* Signed electronic syllabus by Monday (9/11/17)
 +
* Introductions w/ Pictures collaboration found in Canvas
  
== Tuesday - Wednesday (5/2/17 - 5/3/17) ==
+
== Tuesday (9/5/17) ==
 
'''Agenda:'''
 
'''Agenda:'''
* What you should have as of now:
+
* Introductions
** A BrickClassTest that defines a Brick class and declares and sets up a Brick[] (array)
+
* Name cards
** The draw() should loop through the Brick[] and display each brick
+
 
* Today, you should:
+
'''Homework:'''
*# Create a new sketch named BrickBreaker or Breakout
+
# Go to Syllabus (on the left)
*# Copy over the Brick class and its setup and display code
+
# Read it
*# Copy over your Ball and Paddle from Ping
+
# Complete the agreement form with your parent (you will need your APS Google login)
*# Go through the code and clean it up, making any necessary changes
 
*# Add a new function named checkBrickBottomCollision(Brick br, Ball ba)
 
*#* It should check if a Ball ba collides with a Brick br's bottom edge, return true and false accordingly
 
* Demonstrate your preliminary BrickBreaker/Breakout game for credit
 
  
 
== Archives ==
 
== Archives ==
* [[IBCS1 - 1617 - April]]
+
* [[IBCS1 - 1617]]
* [[IBCS1 - 1617 - March]]
 
* [[IBCS1 - 1617 - February]]
 
* [[IBCS1 - 1617 - January]]
 
* [[IBCS1 - 1617 - December]]
 
* [[IBCS1 - 1617 - November]]
 
* [[IBCS1 - 1617 - October]]
 
* [[IBCS1 - 1617 - September]]
 
* [[IBCS1 - 1516]]
 

Revision as of 12:50, 20 September 2017

Wednesday (9/20/17)

Agenda:

  • Quadratic Formula Assignment
    • Demo to Mr. Bui when completed
  • Introduction to Booleans & Conditionals
    • Comparison operators (<, >, <=, >=, ==, !=)
    • Boolean values: True, False
    • Complete Comparison operators assignment on Canvas
  • if statements
  • Logic operators: and, or, not
    • Media:PythonBooleanLogic.pptx
    • Complete Logical operators assignment on Canvas
    • Evaluate the following comparisons with logic operators (assume x = 2; y = 5)
      1. x + 2 > y or y < 10
      2. not(x < y) and y > 2 * x
      3. y > 0 and y < 10 or x > 10 and x < 20
      4. x + y != 5 and x - y < 0
      5. x == 2 and y != 5
      6. x != y or y >= x
  • Letter Grade Calculator
    1. Prompt the user for a number (0-100) (if you don't remember, look at past notes and lectures)
      • Note: Your program should be able to handle floating-point numbers!
    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)
      • Note: Your program should round letter grades appropriately (Example: grade >= 89.5 is an A)

Monday (9/18/17)

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: ###"
  • Quadratic Formula Assignment
    • Demo to Mr. Bui when completed

Thursday (9/14/17)

Warmup:

  • Complete the Identifying Types assignment on Canvas if you have not already done so

Agenda:

  • Introduction to Values, Types, and Variables
  • Input and Output
  • 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: ###"
  • Quadratic Formula Assignment
    • Demo to Mr. Bui when completed

Tuesday (9/12/17)

Agenda:

Friday (9/8/17)

Warmup:

  1. Login to Canvas
  2. Complete the Collaboration

Agenda:

Wednesday (9/6/17)

Agenda:

  • Attendance
  • Misc logistics
    • 20/10 no pass policy
    • Location of bathrooms
    • Sign in/out sheets
    • Mr. Bui has A Lunch (1st Lunch) on W-days
    • Mr. Bui has 4th period planning on L-Days (so whatever lunch he feels like having that day)
  • IB Computer Science I Syllabus
    • Sign electronic form by next Monday (9/11/17)
  • Introduction to Canvas
    • Profiles
    • Notifications
    • Assignments
    • etc.
  • Introductions w/ Pictures
    1. You will be given a group Google presentation
    2. Create a new slide
    3. Use your first and last name as your title
    4. Paste 4 or more images that describe who you are

Homework:

  • Signed electronic syllabus by Monday (9/11/17)
  • Introductions w/ Pictures collaboration found in Canvas

Tuesday (9/5/17)

Agenda:

  • Introductions
  • Name cards

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)

Archives