- Monday
- Tuesday
- Wednesday
- Thursday
Morning
“The first rule of any technology used in a business is that automation applied to an efficient operation will magnify the efficiency. The second is that automation applied to an inefficient operation will magnify the inefficiency.”
- Bill Gates
- Introduction (interview your neighbor)
- Name
- School (name of school, location, demographics, public/private)
- Have you taught APCS or any programming class before?
- Goal(s) for the workshop
- Something interesting about yourself (e.g. attended Woodstock, climbed Mt. Kilimanjaro, got lost in Yosemite, etc.)
-
Administrative Items
- Daily Schedule
- Restrooms
- Breaks/Lunch
- Books (names, email addresses)
- Personal Laptops Welcome
- Book raffles for singleton copies
- Daily sign-in sheet
- College credit/units
- Think about three things to implement after workshop
- Teaching Methodologies / Strategies (a link to my "Pedagogy" page)
- AP Audit link to APCentral
“Many a false step was made by standing still.”
- Chinese Proverb
-
Our first program
- Starting JCreator
- Creating a project (Ctrl-Shift-N)
- Adding a .java file (Ctrl-N)
- Compling project (F7)
- Running program (F5)
- Comment selected line(s) (Ctrl-M)
- Uncomment selected line(s) (Ctr-Shift-M)
-
ArrayList of Cars with the "for loop removal" problem
- using for loop: OK
- using a for-each loop: OK
- using Iterators: OK
-
Array[ ] of Cars
- using for loop: OK
- using a for-each loop: OK
- using Iterators: NOT OK
Morning
“An expert is a person who has made all the mistakes that can made in a very narrow field.”
- Neils Bohr, Danish Physicist and Nobel Prize winner
- In class project - 2004 A1 WordList
- Whiteboard problem definition
- Creation of WordListDriver
- toString() method
- Constructors
- Grading 2004 A1 WordList
- Searching (sequential and binary) and Sorting Algorithms
- Strings
- "To new" or "not to new"? Initializing Strings with "new" and the String "pool"
- Exercise ideas - Star Wars name, Harry Potter name, Pig Latin
- Recursion - fractals, factorials, and Fibbonacci sequences, Oh my!
-
Number base conversion
Q: Why do computer scientists confuse Halloween and Christmas?
A: Because they can't tell the difference between 31Oct and 25Dec.
“As to methods there may be a million and then some, but principles are few. The man who grasps principles can successfully select his own methods. The man who tries methods, ignoring principles, is sure to have trouble.”
- Ralph Waldo Emerson
- Inheritance (Head First Java progression)
- Abstract Classes
- Interfaces
- Polymorphism
- Key teaching point: Concrete class, abstract classes, AND interfaces can be used as object references, argument types for methods, and return types for methods!
- In class project 2004 A2 Pet
- Whiteboarding problem
- Super constructor calls - super()
- Constructor call order (top-down)
- Method call order (bottom - up)
- Grading 2004 A2 Pet
- In class project 2006 A2 Item
- Grading 2006 A2 Item
Morning
“Only those who are asleep make no mistakes”
- Ingvar Kamprad, founder of IKEA, world’s largest furniture brand
- Setting up and running GridWorld
- Download and unzip Gridworld installation file.
- Create project and add BugRunner File to project.
- Add "gridworld.jar" file to project (then compile and run!)
- A link to the AP Central College Board GridWorld site.
- The original GridWorld roleplay by David Levine and Steve Andrionoff.
- I also have a modified version that has been field tested and modified by my APCS students and Summer APSI participants. We will cover this in depth during the summer workshops (updated 23 Jul 2008).
- Role Play setup and logistics
- Role Play Part I - Object Construction
- Role Play Part II - RolePlayBugRunner
“Perfection is not when there is no more to add, but no more to take away.”
- Antione De Saint-Exupery, pioneer of international postal flight and author of Le Petit Prince (The Little Prince)
- Role Play Part III - RolePlayCritterRunner
- The GridWorld inheritance hierarchy
- GridWorld Code walkthrough ( "instanceof" and "this" )
Morning
"Make things as simple as possible, but no simpler."
- Albert Einstein
- Here are the steps that you need to follow to create your own "creature" and insert it into a working GridWorld Project. Have fun!!
- In class project - AP Problem 2008 A3 - OpossumCritter
- Grading AP Problem 2008 A3 - OpossumCritter
- In class project - Design your own creature
-
Examples of Creatures
- Frog by Liz Hernandez
"I not only use all the brains that I have, but all that I can borrow."
- Woodrow Wilson
- Your creature description
- Three things you want to implement after workshop
- Evaluations
- Certificates
- Final words
faqs
pedagogy
content
gridworld
daily schedule
*AP is a registered trademark of the College Board.
© 2008 Michael Lew