1. Download the google app engine stuff for your computer: http://code.google.com/appengine/
You’ll eventually need to get a google account if you don’t already have one in order to upload your applications to the real intertubes.
2. The text recommends a firefox plugin called firebug (download from here). I recommend both using Firefox and installing Firebug. However, it [...]
Posted on May 29th, 2009 by Baker Franke
Filed under: Labs | No Comments »
We’re going to take a quick break from Python to learn some HTML and CSS. We’ll pick python back up on Friday.
Do these assignments which were all provided by Ms. Billingsley. Develop your html locally, and save each file into a folder. Zip up the folder and submit it as: username.htmlLab.zip by Friday, May 29
HTML [...]
Posted on May 26th, 2009 by Baker Franke
Filed under: Labs | No Comments »
Scholars,
Your assignment is to produce the top 10 words from decl.txt. The algorthim is this:
1.
for each word in the file
if the word does not exist in the dictionary
put the word into a dictionary with a value of 1
else
increment the value associated with the word
2.
invert the dictionary
so instead of word->count mappings, it will contain count->[list,of,words,with,this,count]
3.
sort the [...]
Posted on May 19th, 2009 by Baker Franke
Filed under: Labs | No Comments »
Here is a link to the official python documentation:
http://docs.python.org/
It includes tutorials, HOW-TOs, and the API.
Things you need to know for Tuesday:
1. How to run a simple python program in IDLE
2. Numerical types and arithmetic
3. String types and string manipulation methods
4. How to print and concatenate strings with numerical and string variables
5. The raw_input function, and [...]
Posted on May 15th, 2009 by Baker Franke
Filed under: Labs | No Comments »
This is the last lab assignment of APCS
Assignment Sheet:
Lab22_CatchingPlagiarists.pdf [If you CARE ABOUT YOUR GRADE, you'll read the assignment sheet carefully. Especially the descriptions of each grading Milestone.]
Document Sets:
Lab22_bigDocSet.zip - 1,354 docs — ~1,615,193 words
Lab22_medDocSet.zip - 75 docs — ~91,273 words
Lab22_smDocSet.zip - 25 docs — ~33,946 words
Posted on April 27th, 2009 by Baker Franke
Filed under: Labs | No Comments »
Problem Description: Lab21_RealProblems2_AirTraffic.pdf
Daily Flight Lists: Lab21_FlightLists.zip
How to read a directory of files: See HOWTO on right sidebar
What do the airport codes stand for?: Lab21_allAirports.txt
Posted on April 15th, 2009 by Baker Franke
Filed under: Labs | No Comments »
We discussed Lab 20 at length in class. Here is a copy of the problem statement I handed out….
Handout: Lab20_RealProblems1_documentSimilarity.pdf
Text Documents: http://library.ucls.uchicago.edu
Posted on April 11th, 2009 by Baker Franke
Filed under: Labs | No Comments »
I will suggest some AP Review items to do for each weekend between now and the exam.
As a first suggestion for AP Review I suggest attempting one or both of the A1 and A2 Multiple Choice (MC) tests from the Litvin book. The A test (as opposed to the AB) has the same difficulty of [...]
Posted on April 3rd, 2009 by Baker Franke
Filed under: Labs | No Comments »
Program and watch the emergent behavior of Ants!
Assignment Sheet: Lab19_AntBehavior.pdf
There are no starting project files for this one - you can just use an existing GridWorld project to start in. I suggest something with Critters. You will want some images, probably. Here are the ones I used in my simulation:
Ant:
AntHill:
Food:
Posted on April 2nd, 2009 by Baker Franke
Filed under: Labs | No Comments »
This is just a formal declaration of the due date for Bee Critter. The assignment is given as the last exercise in the GridWorld intro in the previous post.
Here is the assignment (copied for your convenience):
A Bee is an actor that acts as follows. First the Bee makes all the Flowers in the [...]
Posted on March 9th, 2009 by Baker Franke
Filed under: Labs | No Comments »