Difference between revisions of "IB Computer Science 1"

From WLCS
(Thursday (1/9/20))
Line 1: Line 1:
 +
== Monday (1/13/20) ==
 +
'''Agenda:'''
 +
* Strings quiz on '''Wednesday (1/15/20)'''
 +
* Complete String repl.it assignments:
 +
** printStr() function
 +
** getFirstWord() function
 +
** countVowels() function
 +
** reverse() function
 +
** removeSpaces() function
 +
** removeLetters() function
 +
** replaceLetters() function
 +
 +
 
== Thursday (1/9/20) ==
 
== Thursday (1/9/20) ==
 
'''Warmup:'''
 
'''Warmup:'''
Line 34: Line 47:
 
* Review Basic Strings Exercises
 
* Review Basic Strings Exercises
  
== Friday (12/20/19) ==
+
== [[IBCS1 - 1920 - December]] ==
'''Agenda:'''
 
* while loops quiz
 
* Complete all repl.it exercises
 
** No work will be accepted after winter break
 
 
 
== Monday - Wednesday (12/16/19 - 12/18/19) ==
 
'''Agenda:'''
 
* Complete all repl.it exercises:
 
** Loops: Powers of 2 repl.it
 
** Loops: Summation repl.it
 
** Loops: Factorial repl.it
 
** isPrime function and loop assignment in repl.it
 
** Loops: Fibonacci
 
** Taylor series Pi repl.it
 
** Taylor series e repl.it
 
* while loops quiz on '''Friday (12/20/19)'''
 
** Be able to trace / follow a while loop's execution
 
** Be able to write / implement a while loop
 
 
 
== Tuesday - Thursday (12/10/19 - 12/12/19) ==
 
'''Agenda:'''
 
* Demo Robots + Item Collection Game
 
* 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 or repl.it)
 
** 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
 
** Write a loop that prints all the numbers that are divisible by 3 and 7 between 0 and 1000
 
** Write a function named rangeOfEvens(a, b) that uses a loop to print all the even numbers between a and b
 
** Prompt a user for a number N. Write a loop that then prints out the first N even numbers (Hint: Use multiple variables)
 
* Looping repl.it exercises:
 
** Loops: Powers of 2 repl.it
 
** Loops: Summation repl.it
 
** Loops: Factorial repl.it
 
** isPrime function and loop assignment in repl.it
 
** Loops: Fibonacci
 
 
 
== Friday (12/6/19) ==
 
'''Agenda:'''
 
* Complete the "Top-Down" Perspective Game (Robots / Item Collection Game)
 
 
 
== Wednesday (12/4/19) ==
 
'''Agenda:'''
 
* Group 4 Project Field Trip
 
** Complete the [https://goo.gl/forms/0ya5UJ6KdVJvDvJF3 Group 4 Project Reflection]
 
* Complete the "Top-Down" Game (Robots / Item Collection Game) if you are not attending the field trip today
 
 
 
== Monday (12/2/19) ==
 
'''Agenda:'''
 
* [https://drive.google.com/open?id=1s1zAquCP4iF_xO68JnPcziVuv-RzVOwv Group 4 Project Field Trip Logistics!]
 
* "Top-Down" Perspective Game (Robots / Item Collection Game) - complete and demo this week
 
** This next game will use a top-down perspective and be a variation of many games that you might have played in the past
 
** The keyboard will move the player around (WASD or arrow keys)
 
** The player must collect 5 or more items on the screen. Collecting all the items wins the game.
 
** The player must avoid colliding with at least 3 enemy robots that follow it around. Colliding with a robot loses the game
 
** There is a timer counting down, and the player must collect all the items before it hits 0. Otherwise, the player loses.
 
** The screen wraps around (e.g. player moving off screen to the left appears on the right)
 
* Additional challenges:
 
** Robots that collide with each other become disabled "land mines"
 
** Attack ability so that player can fight back a robot
 
** Health meter for the player
 
** Levels that increase in difficulty (e.g. add more robots)
 
** Warp doors - the player going through the door appears at the other door
 
** An invincibility or shield power-up item
 
 
 
 
== [[IBCS1 - 1920 - November]] ==
 
== [[IBCS1 - 1920 - November]] ==
 
== [[IBCS1 - 1920 - October]] ==
 
== [[IBCS1 - 1920 - October]] ==
 
== [[IBCS1 - 1920 - September]] ==
 
== [[IBCS1 - 1920 - September]] ==
 
== [[IBCS1 - Archives]] ==
 
== [[IBCS1 - Archives]] ==

Revision as of 05:35, 13 January 2020

Monday (1/13/20)

Agenda:

  • Strings quiz on Wednesday (1/15/20)
  • Complete String repl.it assignments:
    • printStr() function
    • getFirstWord() function
    • countVowels() function
    • reverse() function
    • removeSpaces() function
    • removeLetters() function
    • replaceLetters() function


Thursday (1/9/20)

Warmup:

  • Complete the Basic Strings Exercises in Canvas if you did not already do so (re-attempt if you did not get a full score)
  • Review the Basic Strings Exercises

Agenda:

  • While Loops Quiz 2 in Canvas
  • String practice notes
    • Iterating through a String
    • Assembling a String
    • Checking conditions with Strings
    • String loops and functions
  • Strings quiz next week
  • String repl.it assignments:
    • printStr() function
    • getFirstWord() function
    • countVowels() function
    • reverse() function
    • removeSpaces() function
    • removeLetters() function
    • replaceLetters() function

Tuesday (1/7/20)

Warmup:

  1. Write a loop that prints 0, 0.5, 1.0, 1.5, ..., 9.5, 10.0
  2. Write a loop that prints numbers from 20 down through 0
  3. Write a loop that prints numbers less than 100 that are even AND that are divisible by 7

Agenda:

  • while loops quiz on Thursday (1/9/20)
  • Introduction to Strings
  • Strings (Python) slides
    • Complete the Basic Strings Exercises in Canvas
  • Review Basic Strings Exercises

IBCS1 - 1920 - December

IBCS1 - 1920 - November

IBCS1 - 1920 - October

IBCS1 - 1920 - September

IBCS1 - Archives