Difference between revisions of "AP Computer Science"

From WLCS
Line 1: Line 1:
<!--
 
 
== Thursday (9/20/18) ==
 
== Thursday (9/20/18) ==
 
'''Warmup:'''
 
'''Warmup:'''
Line 21: Line 20:
 
'''Homework:
 
'''Homework:
 
* Complete Test 3
 
* Complete Test 3
-->
 
 
  
 
== Tuesday (9/18/18) ==
 
== Tuesday (9/18/18) ==

Revision as of 20:31, 19 September 2018

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
  • Keyboard input with Scanner
  • E-mail Harvester Assignment
    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

Homework:

  • 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