Difference between revisions of "IB Computer Science 1"
From WLCS
Line 1: | Line 1: | ||
+ | == Tuesday (2/5/19) == | ||
+ | '''Warmup:''' | ||
+ | * Complete the '''printStr function & loop''' warmup in repl.it | ||
+ | |||
+ | '''Agenda:''' | ||
+ | * 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) == | == Friday (2/1/19) == | ||
'''Agenda:''' | '''Agenda:''' |
Revision as of 05:13, 5 February 2019
Contents
Tuesday (2/5/19)
Warmup:
- Complete the printStr function & loop warmup in repl.it
Agenda:
- 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
- We will design a simple top-down item collection game
- You can move the player sprite with the keyboard (wrap the player to the other side of the screen if you go off screen)
- The player will be able to collect items
- Robot sprites will attempt to follow the player around
- You win when you collect all the items
- You lose if a robot collides with your sprite
- Object-oriented design
- What objects will we need?
- What variables will we need in our object(s)?
- What functions will we need in our object(s)?
- Next steps
- Find and download your own sprite images
- Implement the game described above using our modified Sprite class
- Game demonstration is due next Wednesday (1/23/19)
- Game Description
Monday (1/14/19)
- Snow Day
Thursday (1/10/19)
Agenda:
- Cornell Engineering Diversity Programs - one-week residential programs:
- Catalyst Academy - juniors and seniors from underrepresented backgrounds
- Curie Academy - high school girls who excel in math and science
- 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:
- Catalyst Academy - juniors and seniors from underrepresented backgrounds
- Curie Academy - high school girls who excel in math and science
Monday - Friday (12/31/18 - 1/4/19)
- Winter Break