Difference between revisions of "IB Computer Science 1"

From WLCS
 
Line 1: Line 1:
== Tuesday - Thursday (5/3/16 - 5/5/16) ==
+
== [[IBCS1 - Archives]] ==
'''Agenda:'''
 
* Complete the [http://nveval.com/ NVCC Course Evaluation survey]
 
* Complete the [http://research.k12insight.com/CTEstudentsurvey/ CTE Student Survey]
 
* Convert and demo Lab 6 / 7 (Tic-Tac-Toe)
 
** [https://processing.org/tutorials/arrays/ Processing - Arrays Tutorial]
 
** [https://processing.org/tutorials/2darray Processing - 2D Arrays Tutorial]
 
* for loop review and practice
 
*# Write a for loop that prints 0 to 10 by 2s
 
*# Write a for loop that prints 25 to 175 by 25
 
* Brickbreaker
 
*# Draw a row of bricks w/ a for loop
 
*# Draw multiple rows of bricks by adding another for loop
 
*# Give each brick a random color (if you want the colors to stay the same throughout the game, then you'll need arrays)
 
* Brick collision detection - demonstrate the collision testing once completed for credit
 
*# Create a new sketchbook just to develop your collision detection
 
*# You will develop 4 different functions to check if a ball collides with the different sides of a brick
 
*# Declare and initialize all the variables for a ball -- start your ball at the top of the screen and have it go straight downwards
 
*# Declare and initialize brick_x, brick_y, brick_w, brick_h variables
 
*# Declare and initialize a boolean visible variable, which is true -- this variable will remember if a brick is visible or not.  If the brick is hit, then we set it to false
 
*# Draw a rectangular brick in the middle of the screen using your variables
 
*# Define a function named '''checkTop(brick_x, brick_y)'''
 
*#* if the ball's bottom edge (ball_y+ball_h) is greater than the brick's top edge (brick_y) AND the ball's bottom edge is still less than the brick's bottom edge (brick_y+brick_h) AND the ball's left edge (ball_x-ball_r) is less than the brick's right edge (brick_x+brick_w) AND the ball's right edge (ball_x+ball_r) is greater than the brick's left edge (brick_x)...then the ball must be hitting the top edge and you should return '''true'''
 
*#* otherwise, return '''false'''
 
*# Go to the draw() function
 
*## Draw and move your ball
 
*## Draw the rectangle if visible is true
 
*## Check if the ball has hit the top of the brick by using an if-statement and checkTop(brick_x, brick_y)
 
*##* If the brick is hit, then set visible to false
 
*# If you get checkTop() working, then change the starting location and direction of the ball and develop checkLeft(), checkRight(), and checkBottom()
 
 
 
== Friday (4/29/16) ==
 
'''Agenda:'''
 
* Complete the [http://nveval.com/ NVCC Course Evaluation survey]
 
* Convert and demo Lab 6 / 7 (Tic-Tac-Toe)
 
** [https://processing.org/tutorials/arrays/ Processing - Arrays Tutorial]
 
** [https://processing.org/tutorials/2darray Processing - 2D Arrays Tutorial]
 
 
 
== Monday - Wednesday (4/25/16 - 4/27/16) ==
 
* AB/IB testing absence survey
 
* Convert and demo Labs 4, 5, and 6 in Java (unless 6 is combined with your 7)
 
* Intro to Java arrays and for loops
 
* Convert and demo Lab 6 / 7 (Tic-Tac-Toe)
 
** [https://processing.org/tutorials/arrays/ Processing - Arrays Tutorial]
 
** [https://processing.org/tutorials/2darray Processing - 2D Arrays Tutorial]
 
 
 
== Tuesday - Thursday (4/19/16 - 4/21/16) ==
 
* Java Review
 
* Convert Lab 4: Simple Paint from Python->Java syntax.  Demo for credit
 
* Convert Lab 5: Ping from Python->Java syntax. Demo for credit
 
* Convert Lab 6: Tic-Tac-Toe from Python->Java syntax. Demo for credit
 
** Lists/Arrays are handled slightly differently in Java
 
 
 
== Tuesday - Thursday (4/12/16 - 4/14/16) ==
 
'''Agenda:'''
 
* Grades are updated in Synergy (3rd quarter ends Thursday/Friday)
 
** These are your final grades for 3rd quarter unless you demo something missing for partial credit
 
* Demo [https://docs.google.com/document/d/1lwSV1-NFk6nSnoF3d5wogpyP1X9H_FbeqLfgGkJyCLo/edit?usp=sharing Lab 7: Tic-Tac-Toe (Part 2)]
 
* Introduction to Java syntax
 
** Python -> Java differences
 
 
 
== Monday - Friday (4/4/16 - 4/8/16) ==
 
'''Agenda:'''
 
* Demo missing assignments
 
* Two-dimensional lists (matrices)
 
** [[Media:2DimLists_Python.pptx]]
 
* Work on [https://docs.google.com/document/d/1lwSV1-NFk6nSnoF3d5wogpyP1X9H_FbeqLfgGkJyCLo/edit?usp=sharing Lab 7: Tic-Tac-Toe (Part 2)]
 
 
 
== Archives ==
 
* [[IBCS1 - 1516 - March]]
 
* [[IBCS1 - 1516 - February]]
 
* [[IBCS1 - 1516 - January]]
 
* [[IBCS1 - 1516 - December]]
 
* [[IBCS1 - 1516 - November]]
 
* [[IBCS1 - 1516 - October]]
 
* [[IBCS1 - 1516 - September]]
 

Latest revision as of 08:28, 13 September 2023