Difference between revisions of "AP Computer Science"

From WLCS
Line 10: Line 10:
 
** Intro to Processing methods
 
** Intro to Processing methods
 
** Method calls
 
** Method calls
** Method parameters
+
** Method parameters & arguments
 
* My First Processing Drawing
 
* My First Processing Drawing
 
*# Draw your initials in the bottom right-hand corner
 
*# Draw your initials in the bottom right-hand corner

Revision as of 06:20, 2 October 2018

Tuesday (10/2/18)

Agenda:

  • Questions on Activity 6: Airline meals?
  • Processing
    1. Download Processing
    2. Drag-n-drop the program where you want to keep it
    3. Check out the Processing documentation
  • Introduction to Methods
    • Java Methods
    • Intro to Processing methods
    • Method calls
    • Method parameters & arguments
  • My First Processing Drawing
    1. Draw your initials in the bottom right-hand corner
    2. 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:
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

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
    1. 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
    2. Using only String methods, you must find and isolate the e-mail address in the String. No loops.
    3. 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)

Thursday (9/20/18)

Warmup:

  • Evaluate the following expressions:
    1. String s = "warmup" + 1 + (2*3) + "string"; //what is s?
    2. "this\\is\na\"test\"on escape chars".length()

Agenda:

  • String Methods
  • 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
    1. Login to eIMACS
    2. Go to Table of Contents
    3. Click on Java Basics
    4. Click on Variables and Expressions
    5. Read and work through the chapters on Integers, Doubles, and Casting
      • Attempt the Exercises, but do not spend too long on them
    6. Complete Test 1 (individually, open-book)

Homework:

  • Complete Test 1 (individually, open-book)

Thursday (9/6/18)

Warmup:

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 eIMACS textbook
  • Create/login to Repl.it using your APS Google account
  • Introductions w/ Pictures
    1. You will be given a group Google presentation
    2. Create a new slide
    3. Use your first and last name as your title
    4. 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:

Archives