<p>I thought the test was very easy this year. I’m not going to talk specifics but the only challenge was trying to think of an algorithm for the last problem, but once you thought of it it was simple to implement</p>
<p>MC was a bit hard but the FRQ was relatively easy! Hopefully I end up with a 5 if the curve goes down but I’m fine with a 4 :)</p>
<p>should not be talking. It may be easy for you , but as you can see from other posts , it was hard for many others (like me).</p>
<p>I agree that the MC was HARD, but the FRQ’s were fairly easy. 1 hr and 15 min. was pretty short for those lengthy questions on the MC…</p>
<p>for the JumperCritter, I was SO confused. I only overrided 1 of the methods I’m pretty sure it was supposed to be 2.</p>
<p>This is what I did for JumperCritter:</p>
<p>I override getMoveLocations() and MakeMove(). </p>
<p>getMoveLocation() was just returning getEmptyLocation(getGrid()).</p>
<p>in MakeMove(), I checked to see if the parameter location is equal to the Critter’s current location (getLocation()). This implies that there are no empty locations. If this was true, call removeSelfFromGrid(). Else, call super.makeMove(locs).</p>
<p>Edit: Ahh, I’m wrong. Supposed to override SelectMoveLocations()</p>
<p>MC had a couple tricky ones, but they weren’t too bad… i think.</p>
<p>The FRQ’s were mostly easy except for the part b on the view one was a bit tricky.
Also, for the gridworld one, did we only have to override getMoveLocations() and then i overrode selectMoveLocations() to return null instead of getLocation()
is that right?</p>
<p>Edit: well damn, totally did not review binary whatsoever :(</p>
<p>So in my original post I override MakeMove() instead of selectMoveLocations(). Is it possible to still get full points because it did not violate any of the post-conditions?</p>
<p>Would it be wrong if i put:</p>
<p>getGrid().getEmptyLocation(getGrid()).
instead of
getEmptyLocation(getGrid()).</p>
<p>i was really rushed in the MC and i think i made many careless errors :/</p>
<p>@walkingdead1480 didn’t you have to call GridWorldUtilities.getEmptyLocation(getGrid())?</p>
<p>Also, would they take off points if I forgot to put a constructor on JumperCritter?</p>
<p>They assume you have necessary imports so you don’t need GridWorldUtilities.</p>
<p>You don’t need a constructor for Jumping critter since the compiler will automatically call the superclass constructor if you dont provide one.</p>
<p>Breakdown:</p>
<p>I’ve been up since 2:30 AM with a horrendous sinus headache. It was like that during the test, too.</p>
<p>MC was terribly hard, per se, but the time limit made the questions near impossible to finish. I had to guess on 7 of them.</p>
<p>FR #1 and #2 were pretty easy, except for my lack of knowledge on how to compare an object to a string. #3 was near impossible for me, and I only somewhat answered the first part and didn’t really attempt the second part at all (Gridworld can go DIE), and #4’s part b was incredibly easy, but part a I couldn’t finish in time.</p>
<p>Here’s to hoping for a 4. I highly doubt it, but it doesn’t hurt to hope.</p>
<p>EDIT: From my APPass estimation with 27/40 on the MC, #1 being 7/9, #2 being 6/9, #3 being 2/9, and #4 being 5/9, I think I have a solid 4 in the bag. Please tell me a lot of people failed so my score will be curved favorably.</p>
<p>@Superninja but constructors aren’t automatically inherited in Java.</p>
<p>I don’t know for Java but if you look at ChamelonCritter in the appendix it does not call a constructor.</p>
<p>@andrew0</p>
<p>Yeah, I’m pretty sure that’s right. So when I was running out of time on the FRQ (I’m a very slow writer…), I extended the class and made a constructor. Hopefully I’ll get at least 1.5 points from that.</p>
<p>It’s not that they’re inherited. They’re not inherited, but if you don’t provide a constructor, the default will be called from Actor. [Barron's</a> AP Computer Science A - Roselyn Teukolsky - Google Books](<a href=“Barron's AP Computer Science A - Roselyn Teukolsky - Google Books”>Barron's AP Computer Science A - Roselyn Teukolsky - Google Books)</p>
<p>What did you guys write for the part that asked to complete the method for all empty spots on the grid
Also what did you guys write for the download music question</p>
<p>MC was much harder than that joke of a practice test they gave us, but still very doable. I know I got two wrong so just to be safe I’ll say 36/40. </p>
<p>FRQ was easy, time was not an issue at all. 35/36 (probably an oversight somewhere). </p>
<p>That gridworldutilities method was static right? So you call it like GridWorldUtilities.getEmptyLocations(getGrid())?</p>
<p>@mathguy
The empty spots for the grid could be accomplished multiple ways. </p>
<p>What I did was create an arraylist and fill it with ALL the locations in the grid (using nested for loops set to grid.getNumRow, grid.getNumCol, etc.). </p>
<p>Then I called getOccupiedLocations for its arraylist and used more for loops to systematically remove each loc in getoccupiedlocations from the original arraylist with all the locs in it. </p>
<p>it looked something like
//Code up here that produces the array with all the locs, store it in an //array called locs.
ArrayList<location> locstoremove = grid.getOccupiedLocations(); </location></p>
<p>for(Location a : locstoremove)
{
int p=0;
while(p<locs)
if(a.equals(locs.get(p))
locs.remove(p);
else
p++;
} </p>
<p>afterwards i realized i could’ve just tranversed the array and removed any locs that were occupied -_- but oh well this works too, albeit with a lot more code and confusion.</p>
<p>Folks, a quick reminder: you’re not permitted to reveal the content of the MC questions at all, and you’re not permitted to reveal the content of the FRQs until they’re publicly released — scheduled for Thursday afternoon sometime after 4pm EDT.</p>
<p>is there a penalty for forgetting to use the new operator? Like this:
int[] a;
a = int[3];</p>
<p>I did that twice on the free response.</p>