APCS - 1516 - October

From WLCS
Revision as of 09:12, 5 February 2016 by Admin (talk | contribs) (Protected "APCS - 1516 - October" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) [cascading])
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Thursday (10/29/15)

Agenda:

  • You should have completed all the tests through Test 10
  • You should have completed all the activities through Activity 7
  • Work on eIMACS Lab 1: Chatterbot
    1. Use NetBeans to develop, and then paste your code into eIMACS
    2. If you have questions or are stuck, debug by yourself for a few minutes, and then ask Mr. Bui

Tuesday (10/27/15)

Warmup:

  1. Open your pig latin translator program
  2. Add a String[] with the following words: "good", "morning", "washington-lee", "how", "now", "brown", "cow"
  3. Use a for-each loop to translate every word in the array
    • This should not be extremely difficult. Simply put a for-each loop around your translation code

Agenda:

  • Demo missing assignments:
  • Methods review
  • main() method
  • Work on eIMACS Lab 1: Chatterbot
    1. Use NetBeans to develop, and then paste your code into eIMACS
    2. Let's walk through the first part of the lab

Homework:

  • Complete missing Activities (check your eIMACS grades)
  • Complete eIMACS Test 9 (for and for-each loops)
  • Complete eIMACS Test 10 (static methods)

Friday (10/23/15)

Agenda:

Monday - Wednesday (10/19/15 - 10/21/15)

Agenda:

Thursday (10/15/15)

Agenda:

Tuesday (10/13/15)

Agenda:

  • Missing assignments
  • For loop review
  • For each loops
  • Complete Activity 7 (you may use either type of for loops)

Homework:

  • Complete Activity 7

Thursday (10/8/15)

Warmup:

  • Go to eIMACS Gradebook
  • Check if you have any missing / blank grades
  • Grades in RED are incomplete. You need to go back and complete them

Agenda:

Homework:

  • Complete Test 8 - be sure to use scratch paper or a dry erase board
  • Convert your 2 programs above to use for loops instead of while loops.

Tuesday (10/6/15)

Warmup:

  1. Create a new NetBeans project named SummationWarmup
  2. Prompt the user for a variable N (you'll need to create a Scanner to do this)
  3. Create a variable named sum and initialize it to 0
  4. Write a while loop that sums up the first N natural numbers ( 1 through N ) and stores the results in your sum variable
  5. Print out the sum

Agenda:

  • Complete Guessing Game Assignment
    • Note, the random number generator code is Python, so you will need to look up how to do it in Java
    • Ex. (int) Math.ceil(Math.random()*100)
  • Complete Monte Carlo Calculation of Pi
  • Create a Java program to calculate Pi using a Taylor Series
    • Taylor Series Pi
    • Prompt the user for N, which should be how many Taylor Series terms to sum
  • Create a Java program to calculate the math constant e using a Taylor Series

Homework:

Friday (10/2/15)

Warmup:

  • Grades posted:
    • Incomplete Activities and Tests hurt your grade
    • Tests were given extra 9 points (curved 1.5 letters)

Agenda:

  • Grade Calculator walk-through
  • Fix Grade Calculator to use a while loop
  • Iteration
    • while
    • break - exits the loop where break is found
    • continue - jumps to loop condition where continue is found
  • While loops practice
    1. Print out all the numbers from 0-20
    2. Print out all the numbers from 2015 down to 2000
    3. Write a loop that prints out the first 66 even numbers
    4. Prompt the user for a number and store it in a variable n, then print out the first n multiples of 3 (starting at 3) using a loop
    5. Print out all the numbers that are divisible by 7 from 0 through 1000
  • Complete Guessing Game Assignment
    • Note, the random number generator code is Python, so you will need to look up how to do it in Java
  • Complete Monte Carlo Calculation of Pi
  • If you have completed the above, create a Java program to calculate pi using a Taylor Series
  • Finished that? Create a Java program to calculate the math constant e using a Taylor Series

Homework: