IB Computer Science 1

From WLCS
Jump to: navigation, search

Friday (2/15/19)

Agenda:

  • While loops quiz (5 mins)
  • Introduction to Strings
  • Strings (Python) slides
    • Complete the Basic Strings Exercises in Canvas
  • Review Basic Strings Exercises
  • Strings quiz next week
  • Work on Morse Code Translator
    • Complete Part 1: Plain -> Morse
    • Repl.it auto-testing will be used to collect assignment

Wednesday (2/13/19)

Warmup:

  1. You are creating a program that asks the user to enter an angle within the 2nd quadrant of the coordinate plane (90-180 degrees)
  2. Write a while loop that will continually ask the user to enter an angle while the number is not within the range

Agenda:

  • Looping examples
    • Acceptable ranges
    • Generating non-overlapping coordinates
  • While loops quiz on Friday (2/15/19)

Monday (2/11/19)

Warmup:

  • Complete the 2 minute While Loops Practice Quiz in Canvas

Agenda:

  • While Loops Practice Quiz debrief
    • You will have a real time quiz in the future (Wednesday or Friday)!
  • Demo Taylor Series Pi and e if you have not already done so
  • WPM Survey
  • Looping examples
    • Authentication (login screens)
    • Acceptable ranges

Thursday (2/7/19)

Agenda:

Tuesday (2/5/19)

Warmup:

  • Complete the printStr function & loop warmup in repl.it

Agenda:

  • Workplace Readiness Skills Assessment - Thursday (2/7/19)
    • Go to the Cafeteria @ 8:19am if you have not already taken the assessment
    • 1st period students who have already taken the assessment will sit quietly off to the side of the cafeteria
  • Complete and demo the Monte Carlo Calculation of Pi (Wing IDE)
    • Additional challenge: Animate your Monte Carlo Pi calculation using Processing
  • Slightly more advanced looping practice:
    • Add up all the numbers from 539 through 9394
    • Calculate 41! (<-factorial)
  • Euler's identity
  • Complete Taylor Series Pi and e

Friday (2/1/19)

Agenda:

  • Verify that you have completed the isPrime function and loop assignment in repl.it
  • Complete and demo the Monte Carlo Calculation of Pi (Wing IDE)
    • Additional challenge: Animate your Monte Carlo Pi calculation using Processing

Wednesday (1/30/19)

Agenda:

  • Wing 101 IDE setup & config for Python3
  • Complete isPrime function and loop assignment in repl.it
    • Be sure to read the new directions. Mr. Bui has changed the requirements of the assignment!
  • Continue on to Monte Carlo Calculation of Pi (Wing IDE)
    • Additional challenge: Animate your Monte Carlo Pi calculation using Processing

Friday (1/25/19)

Agenda:

  • Demo missing Simple Item Collection Games
  • Spend time working on implementing additional challenges
  • Introduction to Iteration (looping)
  • while loop practice (using Wing IDE)
    • Write a loop that prints 0 to 10
    • Write a loop that prints 10 to 0
    • Write a loop that prints from 19 to 77
    • Write a loop that prints the first 50 even numbers
    • Prompt a user for a number N. Write a loop that then prints out the first N even numbers (Hint: Use multiple variables)
  • Work on Prime numbers assignment (using Wing IDE)

Wednesday (1/23/19)

Agenda:

  • Complete and demo Simple Item Collection Game
  • Additional challenges:
    • When robots collide with each other, turn them into stationary mines
    • Spawn farms where new robots come out
    • Different level maps where the player must avoid pitfalls (danger zones)
    • Attack and defense for the player against robots

Wednesday - Friday (1/16/19 - 1/18/19)

Agenda:

  • Missing demos of Flappy Bird w/ OOP
  • Simple Item Collection Game
    • Game Description
      1. We will design a simple top-down item collection game
      2. You can move the player sprite with the keyboard (wrap the player to the other side of the screen if you go off screen)
      3. The player will be able to collect items
      4. Robot sprites will attempt to follow the player around
      5. You win when you collect all the items
      6. You lose if a robot collides with your sprite
    • Object-oriented design
      1. What objects will we need?
      2. What variables will we need in our object(s)?
      3. What functions will we need in our object(s)?
    • Next steps
      1. Find and download your own sprite images
      2. Implement the game described above using our modified Sprite class
      3. Game demonstration is due next Wednesday (1/23/19)

Monday (1/14/19)

  • Snow Day

Thursday (1/10/19)

Agenda:

  • Cornell Engineering Diversity Programs - one-week residential programs:
  • Demonstrated your Flappy Bird implementation using object-oriented programming
    • Must have score and multiple pipes (at least 2 pairs)

Tuesday (1/8/19)

Agenda:

  • Post Winter Break Review
  • Object-usage review
  • Re-implement the Flappy Bird Game (with score) using the Sprite class and objects
    • Mr. Bui has supplied the sprite images here
    • We will probably want to tweak the Sprite class a little to add a flap() function and fix move()
    • We can also add a passed variable to remember whether or not we passed a pipe
  • Cornell Engineering Diversity Programs - one-week residential programs:

Monday - Friday (12/31/18 - 1/4/19)

  • Winter Break

Archives