Difference between revisions of "IB Computer Science 2"

From WLCS
Line 1: Line 1:
 +
== Wednesday (9/12/12) ==
 +
'''Agenda:'''
 +
* Demo [[Media:CombatSimulation.java]]
 +
* Review Arrays
 +
** [[Media:IntroArrays.ppt]]
 +
* Array practice activities
 +
*# 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.
 +
*# 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.
 +
*# 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]]
 +
 
== Monday (9/10/12) ==
 
== Monday (9/10/12) ==
 
'''Warmup:'''
 
'''Warmup:'''

Revision as of 11:11, 12 September 2012

Wednesday (9/12/12)

Agenda:

  • Demo Media:CombatSimulation.java
  • 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

Monday (9/10/12)

Warmup:

  1. Bring up NetBeans
  2. Import your summer assignment
  3. Demo using Media:CombatSimulation.java

Agenda:

Thursday (9/6/12)

Tuesday (9/4/12)

  • Introductions
  • Name cards
  • Lab setup/config
    • Login username is your first initial and lastname (e.g. pbui)
    • Your password is your student ID number
    • Go to Apple (upper left) -> System Preferences -> Accounts -> Change Password
    • Acceptable-use policies apply in this lab!
  • Complete the Student Surveys