Quiz 5 is live on the moodle site.
Posted on March 9th, 2009 by Baker Franke
Filed under: Notes | No Comments »
Quiz 5 is live on the moodle site.
Posted on March 9th, 2009 by Baker Franke
Filed under: Notes | No Comments »
Here are notes on Iterators from class in case you weren’t able to transcribe what was on the board.
IN EACH EXAMPLE below, the loop simply prints out the value of each element in the list.
ArrayList<Integer> list = new ArrayList<Integer>();
//fill list with ints
//Old way to iterate, using ArrayList accessor methods:
for(int i=0; i<list.size(); i++){
System.out.println(list.get(i));
}
//Using an Iterator
Iterator [...]
Posted on January 27th, 2009 by Baker Franke
Filed under: Notes | No Comments »
Since most of you will be watching the innauguration, class will be a wash.
BUT YOU HAVE TO DO THREE THINGS:
1. Remember that Lab12 is due MEOM tonight.
2. YOU MUST register on the moodle site so you can take the class quizzes.
a. register on the site
b. enroll in the course: ‘APCS 2009′
3. Go to javabat.com
a.) create [...]
Posted on January 20th, 2009 by Baker Franke
Filed under: Notes | No Comments »
This is an in-class activity on using loops to produce patterns of beepers in a Karel World.
You are not turning this in, but you are responsible for the concepts that underlie problems 1-9 on the worksheet.
Worksheet: activity_BeeperPatterns.pdf
Starting BlueJ Project: activity_BeeperPatterns.zip
Posted on November 3rd, 2008 by Baker Franke
Filed under: Labs, Notes | No Comments »
Resources you can use to review:
1. 100808_Test1_reviewPacket.pdf This is my review packet which I have to admit is pretty sloppily formatted, but hopefully you’ll find a lot of information.
2.Karel Book, Chapters 1-5
3. Blue Pelican Book - can help answer java questions in a non-Karel context.
4. Each Other! Feel free to ask and respond to questions [...]
Posted on October 8th, 2008 by Baker Franke
Filed under: Notes | No Comments »
Here is the Robot class that uses recursion that we developed in class. Use it for you reference:
example_Recursion.zip
Posted on October 6th, 2008 by Baker Franke
Filed under: Notes | No Comments »
Here are the LongSweeper and CrazyPolyBot examples of polymorphism we did in class.
1. example_LongSweeper.zip
2. example_CrazyPolyBot.zip
Make sure you understand these examples!
Posted on October 1st, 2008 by Baker Franke
Filed under: Notes | No Comments »
Details about the quiz were sent to the email list.
In general, the quiz will cover the basics of extending UrRobot to make a new robot class, and writing your own instructions to solve some new kind of problem.
Posted on September 26th, 2008 by Baker Franke
Filed under: Notes | No Comments »
Scholars,
Here is a text book in pdf form that I haven’t totally reviewed, but looks pretty good after a brief perusal. It’s handy in pdf form because you can just do a text search for things you’re looking for. I’ll make a permenant link to it in the right-hand column of this page. Also here:
Blue [...]
Posted on September 24th, 2008 by Baker Franke
Filed under: Notes | No Comments »
This quiz will cover two areas.
1. Karel Basics
You will be asked to write very simple code within the main method that gets some karel robots to achieve some simple task a la “HBot.” I’m merely looking for confirmation that you know how to construct UrRobots use their basic methods to get robots to move. You [...]
Posted on September 22nd, 2008 by Baker Franke
Filed under: Homework, Notes | No Comments »