Difference between revisions of "AP Computer Science"

From WLCS
 
(485 intermediate revisions by the same user not shown)
Line 1: Line 1:
−
== Tuesday (10/9/18) ==
+
== [[APCS - Archives]] ==
−
'''Agenda:'''
 
−
* [https://drive.google.com/open?id=1L-tbBp51YuUoTWldXFBr6JGcyHF5sBy_flfPGiqlVAQ Java methods overview]
 
−
* Complete and demo Tic-Tac-Toe Select-a-Square
 
−
* Skim over eIMACS: Arrays chapter
 
−
* Mr. Bui's [https://drive.google.com/open?id=1Ayzvd1q-6RwZKplUtLHDCCLyO5XIR5kyeKUi8-htErY Arrays (Java) slides]
 
−
* Complete Activity 5
 
−
* Complete Test 5
 
−
 
 
−
== Thursday (10/4/18) ==
 
−
'''Agenda:'''
 
−
* Take the Strings + Conditionals Quiz in Canvas
 
−
* Demo your first Processing drawing (it should also have your initials in the bottom right-hand corner)
 
−
* Introduction to Methods
 
−
** Intro to Processing methods
 
−
** Method calls
 
−
** Method parameters & arguments
 
−
*** Parameters are the variables in the method's definition header
 
−
*** Arguments are the values used in the method call
 
−
* Tic-Tac-Toe Select-a-Square
 
−
*# Setup your screen size to be a large square (e.g. 600x600)
 
−
*# Within the draw() function, give the background a color()
 
−
*# Draw tic-tac-toe lines on your screen (make sure that the rows and columns are exactly 1/3 the size of the height and width)
 
−
*# Add conditional statements in the draw() function to detect which square you are in
 
−
*#* You'll need to access the mouse's current coordinates with '''mouseX''' and '''mouseY''' variables
 
−
*#* Draw a square of a different color inside the particular square that you are in
 
−
*#* The effect that you will generate will look like it is highlighting the current square where the mouse is
 
−
*# Challenge: Modify your code so that changing the screen size, will automatically be adjusted and accounted for by the rest of your code. Hint: use '''height''' and '''width''' variables
 
−
*# Challenge2: Modify your code so that it works without any conditionals. Hint: Use division and multiplication
 
−
 
 
−
== Tuesday (10/2/18) ==
 
−
'''Agenda:'''
 
−
* Questions on Activity 6: Airline meals?
 
−
* [https://processing.org/ Processing]
 
−
*# Download Processing
 
−
*# Drag-n-drop the program where you want to keep it
 
−
*# Check out the [https://www.processing.org/reference/ Processing documentation]
 
−
* My First Processing Drawing
 
−
*# Draw your initials in the bottom right-hand corner
 
−
*# Use Processing and method calls to draw your favorite emoji, logo, cartoon character, etc.
 
−
 
 
−
== Archives ==
 
−
* [[APCS - 1819 - September]]
 
−
* [[APCS - 1718]]
 
−
* [[APCS - 1516]]
 

Latest revision as of 08:28, 13 September 2023