Home » Archive

Articles in the 2014 APCS Category

2012 APCS, 2013 APCS, 2014 APCS »

[9 Oct 2012 | No Comment | ]

Worth 10 Classroom Points. These practice problems are designed to get you working with basic graphics. I want to see what you can figure out to make using Drawing Panel in a few days. Feel free to skip around and experiment BUT you MUST have at least a face with details plus a second image – Impress me with how intricate of a drawing you can make!
You will write a program to produce an image like the following figure:

This DrawingPanel has size 300 x 250 and has a yellow background. …

2012 APCS, 2013 APCS, 2014 APCS, 2015 APCS »

[23 Sep 2012 | No Comment | ]

We are proud to offer our students taking AP Computer Science the opportunity to earn 4 University of Washington credits for UW Computer Science 142 for 10th, 11th and 12th grade Students.  The cost of these credits are $305* ($260 [4 credits], plus a $45 UW registration fee) which must be submitted by mail or phone by TBD – Usually end of October. Registration instructions are located at: https://www.uwhs.uw.edu/students-parents/registration-fees/
The UW Computer Science program has approved that our AP CS class meets the requirements of CS 142 and now allows this articulation; meaning …

2012 APCS, 2014 APCS »

[18 Sep 2012 | No Comment | ]

Word of warning, pay close attention to your typing on thelyrics of Song.java assignment.  Each year I find a few typing errors in Projects that do not have the output exact.  I suggest you cut & paste the lines in and may want to compare the output using www.quickdiff.com .  Here’s a sample of a few found for Song in previous years.
NOTE: < – expected output versus > – what the program output
< I put a semicolon at the end of each line

> I put a semicolon and the end of each line

< Lost a …

2011 APCS, 2012 APCS, 2013 APCS, 2014 APCS, 2015 APCS »

[7 May 2012 | No Comment | ]

Your final project is an opportunity to pull together all the things you’ve learned this year and to learn a new skill or two by leveraging documentation-reading abilities.  It’s important that you be able to bring an ambitious project to completions and that you have a tangible product to show for your time in this class.
You are welcome to work in groups of up to three with approval, I reserve the right to veto groups.
Your deliverables dates & project Points are:

Slick2D (and LWJGL) Workshop , I’m working on a Projects Student …

2011 APCS, 2012 APCS, 2014 APCS, 2015 APCS »

[7 May 2012 | 2 Comments | ]

Create a project proposal document containing the following details, labeled appropriately. Pretend you are pitching a product idea and provide the details to promote it. Due: must be in by Friday May 12th, 2017 (so you have time to work on it!)
Project Title & Team:
A descriptive name for your project along with a list of any team members (please teams of 1-3 students)
Description:
Write a general description of the project you have in mind for this class.  Make it at least a solid paragraphs or equivalent outline but no more than a …

2011 APCS, 2012 APCS, 2013 APCS, 2014 APCS »

[14 Mar 2012 | No Comment | ]

You will implement a class to represent weights in pounds and ounces.  Your class will have two fields: pounds and ounces.  Recall that there are 16 ounces in a pound.  Your Weight objects should never keep track of more than 15 ounces, they should convert the value to pounds instead (i.e. 2lb 17oz should become 3lb 1oz).  Weights needs its toString method, ex: 1lb 4oz or 3oz or 7lbs 3oz.  In addition, your class will implement the Comparable interface to define how they are sorted (lighter to heavier).  Write a client that creates several weights, puts them …

2011 APCS, 2012 APCS, 2013 APCS, 2014 APCS, 2015 APCS »

[1 Mar 2012 | No Comment | ]

NOTE: You will need two support files: ShoppingMain.java and ShoppingFrame.java – copy these and put them in your work folder.  Make sure to review the presentation on How to Start the Shopping Cart Project.  (PDF Version of this project in case you want to print it out, 4 pages)
This assignment will allow you to use ArrayLists and explore “has-a” relationships between classes (as opposed to “is-a” or inheritance, more on that later).  It will hopefully also give you some insight on how larger, graphics-based programs are designed and built. Your task …

2011 APCS, 2012 APCS, 2013 APCS, 2014 APCS »

[15 Feb 2012 | No Comment | ]

Write your Point (Object) Class and use a PointMain (Client) classe to test it.  There’s code on the Object & Contructor slides from yesterday but try to build them from memory as much as possible!  Make sure you update your PointMain class to test your additions as you go.

public Point(int x, int y)
Until we have have covered the Constructor presentation, just use the simple creation of your point and assignments. Then later create the Constructor (slides) method to make a point with coordinates (x, y).

public void translate(int dx, int dy)
Move the …

2011 APCS, 2012 APCS, 2013 APCS, 2014 APCS, 2015 APCS »

[2 Feb 2012 | No Comment | ]

Classwork: 10 points, due Monday, 8th February allowing time to finish the DNA project, due Thursday, 11th Feb, 2016.
Sketch a diagram that illustrates how you plan to break down and & structure your code for the DNA project.  Make sure to include:

Methods as boxes with descriptive name, suggest adding list of Inputs and Outputs within the box.
Arrows showing how each method is being called by main along with the key parameters passed to the method and the data returned (if any) from it.
Do your best to highlight any data structures …

2011 APCS, 2014 APCS, 2015 APCS »

[8 Dec 2011 | No Comment | ]

This quiz will focus on user input (Scanners), conditionals, boolean expressions (including NOT !, OR || and AND &&), returns, Strings (char) and simple While loops, though of course other things we have studied will show up as well! The format of the test will be 4 expressions (Strings and boolean), an if/else simulation then 4 to 5 methods to write. To encourage studying and note taking, you may use your notes & test for the quiz.
I recommend studying with these problems:

Logic Expressions
String Expressions - for more click link in upper right…
if/else …