Difference between revisions of "IBCS1 - 0910 - May"
From WLCS
(Created page with "== Monday - Friday (5/24/10 - 5/28/10) == * Complete and demo Parser class assignment * Complete and demo Room class assignment == Monday - Friday (5/17/10 - 5/21/10) ==...") |
(→Monday - Wednesday (5/3/10 - 5/5/10)) |
||
Line 37: | Line 37: | ||
'''Agenda:''' | '''Agenda:''' | ||
* Introduction to classes | * Introduction to classes | ||
+ | ** [[Media:IntroClasses.ppt]] | ||
* Look at [[Media:Circle.java]] | * Look at [[Media:Circle.java]] | ||
* Create your own Rectangle class and put it into a file named Rectangle.java | * Create your own Rectangle class and put it into a file named Rectangle.java |
Latest revision as of 10:55, 1 June 2011
Contents
Monday - Friday (5/24/10 - 5/28/10)
- Complete and demo Parser class assignment
- Complete and demo Room class assignment
Monday - Friday (5/17/10 - 5/21/10)
Agenda:
- Demo Weapon class assignment and Creature class assignment by showing a working Media:CombatSimulation.java
- Continue working on Creature Combat Game
Monday - Friday (5/10/10 - 5/14/10)
Agenda:
- Be able to demo all Java programs
- Demo Weapon class assignment and Creature class assignment by showing a working Media:CombatSimulation.java
- Once you have demoed Weapon class assignment and Creature class assignment, work on Java Arrays Assignment
Thursday - Friday (5/6/10 - 5/7/10)
Agenda:
- Be able to demo all Java programs
- Mr. Bui will check Weapon class assignment and Creature class assignment for completion on Friday (5/7/10)
- Work on Creature Combat Game
- If you have finished Creature Combat Game, then begin looking at Java Arrays Assignment
Monday - Wednesday (5/3/10 - 5/5/10)
Warmup:
- Create a new file named Warmup_5_3_10.java
- Prompt the user for an integer and store it in a variable n
- Create a boolean variable named isPrime that starts with true
- Write a for loop that starts at 2 and goes up to n
- Check if n can be evenly divided by the counter variable (Hint: n % x == 0)
- If n divides the counter variable, then change isPrime to false
- Check if n can be evenly divided by the counter variable (Hint: n % x == 0)
- Outside after the loop, check if isPrime is true
- Print out a message that says that "the number n is prime"
- ...otherwise, print out a message that says it is not
Agenda:
- Introduction to classes
- Look at Media:Circle.java
- Create your own Rectangle class and put it into a file named Rectangle.java
- Test out your Rectangle class by creating another filed named RectangleMain.java
- Inside RectangleMain.java will be your main() method
- Use Media:CircleMain.java as a guide
- Creature Combat Game
- Java Arrays Assignment
Be sure you have demoed or can demo the following:
- Quadratic Formula Assignment
- MPAA calculator assignment
- Guessing Game Assignment (HINT: Look up online how to do random numbers in Java)
- Print Shapes Exercises
- Printing Initials Assignment
- Looping Exercises