Difference between revisions of "IB Computer Science 2"

From WLCS
(Wednesday (9/14/11))
Line 7: Line 7:
 
** How does it all work?
 
** How does it all work?
 
*# Create Java Classes (object blueprints)
 
*# Create Java Classes (object blueprints)
*# Create a separate main class with a main method.  The main method can  
+
*# Create a separate main class with a main method.  The main method can use other objects defined in classes.
 
** [[Person class lab assignment]] - Complete in 5-10 minutes
 
** [[Person class lab assignment]] - Complete in 5-10 minutes
 
** [[Car class lab assignment]] - Complete in 5-10 minutes
 
** [[Car class lab assignment]] - Complete in 5-10 minutes

Revision as of 13:41, 14 September 2011

Wednesday (9/14/11)

Warmup:

Agenda:

  • Java Review?
    • How does it all work?
    1. Create Java Classes (object blueprints)
    2. Create a separate main class with a main method. The main method can use other objects defined in classes.
  • Review Arrays
  • Array practice activities
    1. Create a new Java class named ArrayPractice1. Create an array of 10 Strings (Use names of students in the room). Using a for loop, print out all the Strings in the array.
    2. Create a new Java class named ArrayPractice2. Create an array of 10 integers (make a bunch of numbers up). Using a for loop and an if statement, print print out only numbers greater than 10.
    3. Create a new Java class named ArrayPractice3. Create an array of 10 integers. Using a for loop, calculate the sum and average.
  • AddressBook beginning walk-through
  • AddressBook class lab assignment

Homework:

  • Install the Java JDK on your computer (be sure to choose your corresponding operator system)
  • Install Eclipse Classic on your computer (be sure to choose your corresponding operator system on the right)
  • Test it out, and let Mr. Bui know if you run into problems

Monday - Wednesday (9/12/11 - 9/14/11)

Warmup:

  • Redo the Comfort Zone Survey
  • Be prepared to demo Contact
  • Cram for quiz (Hint: There is a question on almost every slide...lol!)

Agenda:

Homework:

  • Install the Java JDK on your computer (be sure to choose your corresponding operator system)
  • Install Eclipse Classic on your computer (be sure to choose your corresponding operator system on the right)
  • Test it out, and let Mr. Bui know if you run into problems


Tuesday - Thursday (9/6/11 - 9/8/11)

Warmup:

Agenda:

Homework:

Summer