Difference between revisions of "APCS - 1819 - February"
From WLCS
(Created page with "== Wednesday (2/27/19) == '''Agenda:''' * Activity 17 & 18 Questions? * Test 14 Questions? * Class hierarchies - Object class ** Object class methods * Polymorphism review **...") |
m (Protected "APCS - 1819 - February" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]) |
(No difference)
|
Latest revision as of 22:51, 4 March 2019
Contents
Wednesday (2/27/19)
Agenda:
- Activity 17 & 18 Questions?
- Test 14 Questions?
- Class hierarchies - Object class
- Object class methods
- Polymorphism review
- Polymorphism & ArrayLists
- Overriding methods
- Complete Activity 19
Monday (2/25/19)
Agenda:
- Inheritance Quiz in Canvas
- Closed-book, closed-note, closed-person
- Read and work through eIMACS: Object-oriented Programming -> Inheritance and Polymorphism -> Class Hierarchies (pages 218-224)
- Most of this chapter will be review; however there is new material on pages 222-224
- Pay attention to the reading about the Object class and its methods. For example: e.getClass().getName()
- Complete eIMACS: Activity 18: Components
- Read and work through eIMACS: Polymorphism
- Complete Test 14
Homework:
- eIMACS: Activity 18 (if not completed during class)
- eIMACS: Test 14 (if not completed during class)
Thursday (2/21/19)
Agenda:
- Don't forget...Activity 17: Airplanes was homework
- More Inheritance Review & Practice
- Media:OOP.pptx
- Complete the Person/Teacher/Student/... inheritance exercise
- Inheritance Quiz on Monday (2/25/19)
- AP Java Subset
Tuesday (2/19/19)
Agenda:
- Employee class & ArrayList assignment (complete < 20 minutes)
- Create an Employee class that has the following attributes:
- String name
- int employeeID
- double salary
- Define setters and getters for all attributes
- Define the toString() method that returns the name and employee ID
- Within main()
- Create an ArrayList<Employee> and populate it with 5 different Employee objects
- Write a loop that finds the Employee that has the highest salary, and print out the Employee
- Create an Employee class that has the following attributes:
- Inheritance and Polymorphism
- Extending our Employee class
- Walk-through inheritance exercises
- Complete Activity 17: Airplanes for homework
Homework:
- Complete eIMACS: Activity 17: Airplanes
Thursday (2/14/19)
Agenda:
- Complete and demo War
Tuesday (2/12/19)
Agenda:
- Class construction, object usage, & object arrays quiz
- Complete and demo War Card "Game"/Simulation
- Display how many cards each player has at the beginning of each round
- You should display messages like "Player 1 reveals X of X"
- Display a message of who wins each "round"
- Display "I declare war!"
- Display the eventual winner
Wednesday - Friday (2/6/19 - 2/8/19)
Agenda:
- Complete and submit Poker Hands: Part 1 to repl.it
- Introduction to ArrayLists
- AP CS reference card for ArrayLists
- eIMACS ArrayLists chapter review
- Memorize / study ArrayList<E> instance methods
- Processing - Ball example w/ ArrayLists
- Processing - millis() timer example
- Item Collection w/ ArrayLists
- Re-implement your Item Collection game so that it uses ArrayLists instead of arrays
- Start with an ArrayList of 1 robot, and add new robots every 3 seconds
- Start with an ArrayList of 5 items, and remove items when the player collides with them
- ArrayList<Card> examples
- War Card "Game"/Simulation
- Use NetBeans and create a new project for War
- The Main.java file will be the simulation
- Create a new Java class (name the file Card.java) and paste your Card class there
- Design and implement the game/simulation (we will design as a class)
Monday (2/4/19)
Agenda:
- Demo Item Collection Game w/ Object Arrays
- Complete Card class in repl.it (should be done today)
- Work on Poker Hands: Part 1 in repl.it - due Thursday (2/6/19)