Home Page

Welcome to The APCS Java Wiki! Fr. Chris Started this wiki to help with the exchange of information for helping you ask and answer questions about labs and AP Computer Science Questions.


Links

  1. http://www.javabat.com
  2. Lifted Pixar's insight into taking computer science exams
  3. Gridworld Bug Battle
  4. Online interactive edition of a AP Comp Sci A Study Guide
  5. Litvin's "Be Prepared for The APCS" Study Guide

Quotes

A programmer is sent to the grocery store with instructions to "buy butter and see whether they have eggs, if they do, then buy 10." Returning with 10 butters, the programmer says, "they had eggs."

There are two ways to write error-free programs; only the third one works.

You can't make a program without broken egos.

Why did the programmer quit his job?

Because he didn't get arrays.

Programming is 10% science, 25% ingenuity and 65% getting the ingenuity to work with the science.

When Shakespeare asked, "To be, or not to be?," he did not provide the answer. But computer science can! The answer is FF.

 ( 2B || !2B = FF .. in binary 001001011 OR 110110100=11111111)

Chuck Norris can delete the Recycling Bin.

When Chuck Norris throws exceptions, it’s across the room.

Have you heard about the new Cray super computer? It’s so fast, it executes an infinite loop in 6 seconds.


Homework

  1. Chapter 1
  2. Chapter 2
  3. Chapter 3
  4. Chapter 4
  5. Chapter 5
  6. Chapter 6
  7. Chapter 7
  8. Chapter 8
  9. Chapter 9
  10. Chapter 10
  11. Chapter 11
  12. Chapter 12
  13. Chapter 13
  14. Chapter 14
  15. GridWorld 1
  16. GridWorld 2
  17. GridWorld 3
  18. GridWorld 4

Labs

  1. Card Class Lab 1: War
  2. Card Class Lab 2: Poker Hands
  3. Card Class Lab 3: Texas Hold Em
  4. GameState Lab
  5. Cheater Catcher Lab
  6. Cryptography Lab
  7. Car Talk Lab
  8. Employee
  9. UnitConverter
  10. MindReader
  11. MasterMind
  12. Paint OOP Lab1
  13. Pong
  14. PhoneBook Lab 1
  15. PhoneBook Lab 2
  16. HiLow Game
  17. CarTalk Employees files (zip file)
  18. Sort Lab 1

GridWorld

  1. GridWorldCode.zip
  2. StudentManual
  3. Quick Reference A
  4. Part 2-Making New Bugs
  5. Part 3-Classes and Interfaces
  6. Part 4-Interacting Objects
  7. Sample Questions
  8. XBug Sample Code
  9. Drop Game Sample Code

Squint Library

  1. API
  2. Squint Home Page
  3. squintV2.12.jar
  4. ImageViewer
  5. Draw X
  6. Dimmer with image filters

Not so lab Questions

  1. Practice Problem: Word Morph
  2. Practice Problem 2: SplitDiff
  3. Fold to the Sun
  4. Off Topic Fun
  5. GraphicUserInterface
  6. Burgers
  7. Mr Potato Head
  8. Birds
  9. Age on other Planets
  10. ClassQuizScorer
  11. Random Number Generator
  12. March 2010 Exam Solutions

AP Free Response Questions

You can see the questions (and solutions) at The College Board

During the test you get to use the Quick Reference Booklet

  1. 2008TripFlights
  2. 2008Encoding
  3. 2008 OpossumCritter
  4. 2008Checker
  5. 2007SelfDivisor
  6. 2007StudentAnswerSheet
  7. 2007GameState
  8. 2006TimeIntervalAppointment
  9. 2006TaxableItem
  10. 2006Customer
  11. 2005Tickets
  12. 2005Average
  13. MazeBug
  14. Dahlia
  15. Bee
  16. WordScrambler 2009 #1 Practice from College Board
  17. Mountain 2009 #2 Practice from College Board
  18. Grub 2009 #3 Practice from College Board
  19. Stats 2009 #4 Practice from College Board
  20. 2009NumberCube
  21. 2009StockpileCritter
  22. 2009BatteryCharger
  23. 2009NumberTile
  24. 2010CookieOrder
  25. 2010APLine
  26. 2010Trail
  27. 2010GridChecker
  28. JiveBug
  29. HiLo

You can get the questions from APCentral:

  1. 2008
  2. 2007
  3. 2006
  4. 2005
  5. 2004
  6. 2003

Final Projects

Starter Code for Projects

  1. Two Player Starter Code
  2. Gridworld Tile Game
  3. Gridworld Dice Games
  4. Space Invader Game
  5. Slider Puzzle
  6. Stone Game
  7. TileGridApplet
  8. SpaceInvadersApplet
  9. Board Game Ideas to do with Grisworld

How to put a Running Version of your Project on the Web

How to convert your Applet to an Application

  1. Paul's Set Game
  2. Don and Nick's Violin Hero
  3. Michael's Checkers Game
  4. Justin and Xavier's Tennis Game
  5. Eni's and Erik's Hockey Game
  6. Suren's Animation
  7. Kevin's Tower Defense Game

Question: Is there a way to get e-mails when someone changes something here at the APCSWiki?

Answer: By using the services at http://www.watchthatpage.com/ You can watch any page and send the changes to that page as an e-mail to one or more people. This works very well on the AllRecentChanges page for monitoring a whole wiki. As it is a completely separate service, there is no change required to the monitored wiki, so you could use it to monitor our wiki, http://www.stfrank.com/apcswiki/index.php

  1. Goto http://www.watchthatpage.comand create a user account.
  2. Add a new watched web page. Go to "Pages" and add the wiki's AllRecentChanges page. The url is http://www.stfrank.com/apcswiki/index.php?n=Site.AllRecentChanges
  3. Add the times the e-mails will be sent out, e.g. daily at 6.am or twice-daily etc. This is under the "Profile" tabs
  4. We have a Sandbox, so you may want to exclude changes to the Sandbox pages from being e-mailed out. To do that, add a filter on each paragraph that contain the word 'Sandbox'.
  5. We have dynamically changing content on our page footer (the time) so you may need to add further filters to ignore those changes, or remove them from the RecentChanges page.
  6. Add additional recipients of the e-mails, say if you want it sent to multiple e-mail accounts, or your less talented friends who cant figure out how to do this.

That's it! Multiple edits to the same page will not result in multiple lines in the RecentChanges page, hence won't result in multiple lines in the e-mails. If no changes are made, no changes occur on the RecentChanges page and no e-mail is sent out.

Contributors

frchris:
abcdefg:
base2base:
iphonenotify:
seagull: sup
paul:
coolkidz:
babbers23:
crazecritter:
marvinofschway:
xavier:
kolkatagal:


The basic editing page describes how to create pages in PmWiki. You can practice editing in the wiki sandbox.

More information about PmWiki is available from http://www.pmwiki.org .