Difference between revisions of "IB Computer Science 1"

From WLCS
Line 87: Line 87:
 
* Complete and demo the [[Monte Carlo Calculation of Pi]] (Wing IDE)
 
* Complete and demo the [[Monte Carlo Calculation of Pi]] (Wing IDE)
 
** Additional challenge: Animate your Monte Carlo Pi calculation using Processing
 
** 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)
 
** [https://docs.google.com/presentation/d/130_vwU_d09j7A-N8-GC4c7izG4ghg6ZTnj7U6UT7XQg/edit?usp=sharing while loop slides]
 
* 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)'''
 
 
== Monday (1/14/19) ==
 
* Snow Day
 
 
== Thursday (1/10/19) ==
 
'''Agenda:'''
 
* Cornell Engineering Diversity Programs - one-week residential programs:
 
** [https://sites.coecis.cornell.edu/catalystacademy/ Catalyst Academy] - juniors and seniors from underrepresented backgrounds
 
** [https://sites.coecis.cornell.edu/curieacademy/ 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:'''
 
* [https://docs.google.com/presentation/d/1H-V2RApmnqy5-Kbu8JdPvds4WiHko3SFZSMcFAgTCTU/edit?usp=sharing 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 [https://drive.google.com/file/d/1UugFrLPjeA8YPXOlmOxjIvzd6HdvpupA/view?usp=sharing 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:
 
** [https://sites.coecis.cornell.edu/catalystacademy/ Catalyst Academy] - juniors and seniors from underrepresented backgrounds
 
** [https://sites.coecis.cornell.edu/curieacademy/ Curie Academy] - high school girls who excel in math and science
 
 
== Monday - Friday (12/31/18 - 1/4/19) ==
 
* Winter Break
 
  
 
== Archives ==
 
== Archives ==
 +
* [[IBCS1 - 1819 - January]]
 
* [[IBCS1 - 1819 - December]]
 
* [[IBCS1 - 1819 - December]]
 
* [[IBCS1 - 1819 - November]]
 
* [[IBCS1 - 1819 - November]]

Revision as of 11:13, 26 February 2019

Tuesday (2/26/19)

Agenda:

  • Morse Code updates
    • Make sure both Part 1 and Part 2 of Morse Code Translator are complete
    • Part 1 you can submit to repl.it
    • Part 2 will have a repl.it submission soon...
  • File Reading
    • open()
    • read()
  • Integrate file reading into your morse code

Friday (2/22/19)

Agenda:

  • Take the Strings Quiz in Canvas
    • Closed-book, closed-note, closed-person
  • Work on Morse Code Translator
    • Complete Part 1: Plain -> Morse
    • Repl.it auto-testing will be used to collect assignment
    • Complete Part 2: Morse -> Plain (with a function)
  • Challenge:
    1. Research Python dictionaries
    2. Re-implement both plain2morse.py and morse2plain.py so that they use dictionaries instead of functions

Wednesday (2/20/19)

  • Snow Day

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

Archives