Difference between revisions of "AP Computer Science"

From WLCS
 
(491 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Thursday (10/4/18) ==
+
== [[APCS - Archives]] ==
'''Agenda:'''
 
* 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 Board
 
*# 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
 
 
 
== 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.
 
 
 
== Friday (9/28/18) ==
 
'''Warmup:'''
 
* Write out the truth tables for !, &&, and ||
 
* Example:
 
{| class="wikitable"
 
|-
 
! x
 
! !x
 
|-
 
| true || false
 
|-
 
| false || true
 
|}
 
 
 
'''Agenda:'''
 
* Logical Operators review
 
* Activity 4: Booleans review
 
* Test 4 review
 
* Boolean Bingo
 
** You can only sign off the center square
 
** You must try to find other people to sign off all the other squares (towards a blackout bingo board)
 
** You can have a person sign off a maximum of 3 squares
 
* Conditional Statements (if-statements)
 
* Blocks
 
* Complete the 3 Conditional Statement Practice assignments in Repl.
 
 
 
'''Homework:'''
 
* Complete Activity 6: Airline meals
 
 
 
== [https://docs.google.com/presentation/d/1PoA335gHnDCoWpGEpgHLDDaVzxjZ7fdE-oDaQaiENaQ/edit?usp=sharing Back to School Night] ==
 
 
 
== Monday - Wednesday (9/24/18 - 9/26/18) ==
 
'''Warmup:'''
 
* Take the Strings Quiz in Canvas
 
* Complete Activity 3 and Test 3 if you have not already done so
 
 
 
'''Agenda:'''
 
* Activity 3 questions?
 
* Test 3 questions?
 
* Keyboard input with Scanner
 
* E-mail Harvester Assignment - submit via Repl.it
 
*# Spammers use bots to crawl the Internet and harvest e-mail addresses to send spam e-mails. You will write a program that isolates and harvests the e-mail address from a String inputted via the Scanner and keyboard
 
*# Using only String methods, you must find and isolate the e-mail address in the String.  No loops.
 
*# Print out the harvested e-mail address
 
* Booleans
 
* Relational Operators
 
* Comparing Strings
 
* Logical Operators
 
* Complete Activity 4: Booleans
 
* Complete Test 4
 
 
 
'''Homework:'''
 
* Complete Activity 4 and Test 4 by Friday (9/28/18)
 
<!--* Read the eIMACS chapter on [https://www.eimacs.com/eimacs/mainpage?cid=162149&epid=E2326341049 Arrays]-->
 
 
 
== Thursday (9/20/18) ==
 
'''Warmup:'''
 
* Evaluate the following expressions:
 
*# String s = "warmup" + 1 + (2*3) + "string"; //what is s?
 
*# "this\\is\na\"test\"on escape chars".length()
 
 
 
'''Agenda:'''
 
* String Methods
 
** length(), substring(), indexOf()
 
** [https://docs.oracle.com/javase/8/docs/api/java/lang/String.html String Javadoc]
 
* Displaying Messages
 
* Converting Between Numbers and Strings
 
* Complete Activity 3: Strings 1
 
 
 
'''Homework:
 
* Complete Activity 3: Strings 1 if you did not do so in class
 
* Complete Test 3
 
 
 
== Tuesday (9/18/18) ==
 
'''Agenda:'''
 
* Test 2 review
 
* Complete Activity 2: Circles & Spheres within the first 10-15 minutes of class
 
* Strings
 
** Special escape characters
 
** Concatenation
 
** String Methods
 
*** length(), substring(), indexof()
 
 
 
== Friday (9/14/18) ==
 
'''Warmup:'''
 
* Take the Types & Casting Quiz in Canvas
 
 
 
'''Agenda:'''
 
* Arithmetic Expressions
 
* Pitfalls and Surprises 1 2
 
* Declaring and Assigning Values to Variables
 
* Programming Shortcuts
 
 
 
'''Homework:'''
 
* Complete Test 2 (attempt closed-book, but you may refer to references if you need to)
 
** Please attempt it closed-book, closed-person.  We will go over the questions in class
 
 
 
== Wednesday (9/12/18) ==
 
'''Warmup:'''
 
* Make sure you completed the Test 1 homework
 
 
 
'''Agenda:'''
 
* Go over Types & Casting
 
* Go over Test 1
 
* Arithmetic Expressions
 
** Modulus (%)
 
** Integer division
 
 
 
== Monday (9/10/18) ==
 
'''Agenda:'''
 
* Mr. Bui's son is sick, so he's out today. Please complete the following agenda today.
 
* Reminder: Sign electronic syllabus by end of today
 
* Values, Types & Variables - Integers, Doubles, & Casting
 
*# Login to eIMACS
 
*# Go to Table of Contents
 
*# Click on Java Basics
 
*# Click on Variables and Expressions
 
*# Read and work through the chapters on Integers, Doubles, and Casting
 
*#* Attempt the Exercises, but do not spend too long on them
 
*# Complete Test 1 (individually, open-book)
 
 
 
'''Homework:'''
 
* Complete Test 1 (individually, open-book)
 
 
 
== Thursday (9/6/18) ==
 
'''Warmup:'''
 
* Complete the [https://goo.gl/forms/I5pkQ43Yo1LaXRxx2 Student Survey]
 
 
 
'''Agenda:'''
 
* Attendance
 
* Misc logistics
 
** 20/10 no pass policy
 
** Location of bathrooms
 
** Sign in/out sheets
 
** Mr. Bui has B Lunch
 
* [[AP Computer Science Syllabus]]
 
** Sign electronic form by next Monday (9/10/18)
 
* Receive/register for [https://www.eimacs.com/ eIMACS] textbook
 
* Create/login to [https://repl.it/ Repl.it] using your APS Google account
 
** Join our [https://repl.it/classroom/invite/YXIi8Ri repl.it class]
 
* Introductions w/ Pictures
 
*# You will be given a group Google presentation
 
*#* [https://docs.google.com/presentation/d/1gTkN9J0Oo5J004kF39G9TC6vKVw-bStbVBaIEoOaFhA/edit?usp=sharing Period 2]
 
*# Create a new slide
 
*# Use your first and last name as your title
 
*# Paste 4 or more images that describe who you are
 
 
 
'''Homework:'''
 
* Complete you Introductions w/ Pictures slide.  We will all present our slide at the beginning of next class
 
* Signed electronic syllabus by Monday (9/10/18)
 
 
 
== Tuesday (9/4/18) ==
 
'''Agenda:'''
 
* Introductions & attendance
 
** [https://docs.google.com/presentation/d/1Nzo-2anihJvunXw6plSr3pdw9mS26Mv0CZLT-inhGoc/edit?usp=sharing About Me]
 
 
 
== Archives ==
 
* [[APCS - 1718]]
 
* [[APCS - 1516]]
 

Latest revision as of 08:28, 13 September 2023