IB Computer Science 2
From WLCS
Contents
Thursday (9/16/10)
Warmup:
- Be sure you have completed the Person class lab assignment
- If you have *not* completed it, then finish it for your warmup
- If you have already completed, then try the following warmup:
- Review Media:JavaIOExample.java
- In your Warmups project in Eclipse, create a new Java class named Warmup_9_16_10
- Prompt the user for an int
- Using an if statement, print out whether or not the user's number is positive or negative
Agenda:
- toString() methods
- Demo Person class lab assignment
- Demo Car class lab assignment
- Demo Contact class lab assignment
- Review Arrays
- Array practice activities
- Create a new Java class named ArrayPractice2. Create an array of Strings. Using a for loop, print out all the Strings in the array.
- Create a new Java class named ArrayPractice1. Create an array of integers. Using a for loop, calculate their sum and average.
- AddressBook class lab assignment
Tuesday (9/14/10)
Warmup:
- Open Eclipse
- Create a new project named Warmups
- Create a new Java filed name Warmup9_14_10 (be sure to include the public static void main())
- Write a for loop that prints out all the even numbers from 100 DOWN to 0
Agenda:
- Create a new project named ClassesReview
- Create a new Java class named Circle
- Complete the Circle class with the following methods (You may use the auto-generating setter/getter feature!):
- Circle()
- getRadius()
- setRadius()
- getDiameter()
- getArea()
- Download Media:CircleMain.java to the src folder in your ClassesReview project (OR download and then import it through Eclipse)
- Person class lab assignment
- Car class lab assignment
- Contact 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
Friday (9/10/10)
Warmup:
- Cram for Software Development Quiz
Agenda:
- Turn in any signed syllabi sheets
- Software Development Quiz
- Introduction to Eclipse/BlueJ/JEdit?
- Java Review...uh oh!
- semicolons!
- public static void main( String [] args );
- Hello, world! - printing / outputting to screen
- Prompting for input
- if statements
- while loops
- for loops
- classes, attributes, setters, & getters!
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
Wednesday (9/8/09)
Warmup:
- List as many different places and/or ways to obtain information during the problem analysis phase of any project
Agenda:
- Turn in IBCS2 Summer Assignment
- Name cards
- Complete the student survey
- Introduction to Software Development
- Software Development Quiz on Friday (9/10/10)
Tuesday (9/7/09)
- Introductions
- Turn in IBCS2 Summer Assignment
- IB Computer Science II Syllabus
- Lab setup/config
- Login username is your first initial and lastname (e.g. pbui)
- Your password is your student ID number
- Go to System -> Preferences -> About Me -> Change Password