<p>@meylbow4 - I had one lol but two works fine also (I’m assuming you did it how I’m thinking you did )</p>
<p>@myElbow yeah i had only two lines. don’t know why you would need more.</p>
<p>The test said that when this method is invoked it should move the actor back to its previous location and direction. It wouldn’t make sense to be in the act method because then the actor would just go back to it’s original position and never move. The restore method was just to be programmed. The directions did not say anything about implementing it in another method. It only talked about the result of invoking that method. If you did put it in the act method it should be ok since they were not clear on whether they wanted that or not.</p>
<p>edit: whoops a lot of people replied before I finished this. Also thanks for answering my question. It makes me feel better that they aren’t jerks when grading the FRQ’s</p>
<p>I don’t think calling restore at the end of act will be that big of a deal. I would guess that at most it is 1 point of seeing as how ap graders have a checklist of stuff that you should have and give points based of that. Sometimes it might even be counted as a minor error in which case only 1/2 a point will be taken of.</p>
<p>The question never said any form of the phrase “if the user wanted too…”.</p>
<p>As @youngster9 stated, it said “when the method is invoked”, but does not specify whether it should be invoked in the act method or just left there to be invoked by the user. It would be unfair to mark points off for something like that, considering all their other directions are so explicit.</p>
<p>I’m going to assume you could have done it both ways. Even though common sense dictates you shouldn’t, that’s not how the question was worded.</p>
<p>I actually knew the bug wouldn’t move anywhere, but I just went with it because I figured that’s what the question was asking.</p>
<p>For the FRQ with only 2 lines of code. I was nervous because it seemed too easy to be on an AP exam. The test messed with my head a lot. Everything that seemed easy I thought was a trick question. :)</p>
<p>Guys name all the ones on the multiple choice you can remember</p>
<p>if you forgot to write the act method for the gridworld frq, how many points would likely be taken off?</p>
<p>@ang920 I am not a professional grader but I would say for sure 1 if not more because that was a critical method to get the bug to work, to store the previous locations and direction. Unless you did it some other incredibly cool way you probably got the question wrong. But don’t lose hope it is just 1 question.</p>
<p>@compsci1</p>
<p>I think that is a little too much of breaking the rules, just to recreate the test. I don’t think that is a good idea. You can probably estimate around how many you got wrong. So there is no need for that. FRQ’s can be talked about 48 hours. So talking about them is not so bad. But the MC section is supposed to be kept secret.</p>
<p>@compsci1
Don’t ask. No one is allowed to
@ang920
Probably a big chunk, 3.5?
How would you save the location and direction without it?</p>
<p>For everyone talking about the two lines, I took a collegeboard practice where you had to write a method that just called another, one line and you were done. I thought it was a terrible way to practice, but I guess that was why.</p>
<p>And everyone talking about invoking restore in act, why would you do that? It would ruin the purpose of the class and it never told you to, it told you to write a method, nothing else. But I’m sure a simple call wouldn’t get much points off.</p>
<p>@Arroza</p>
<p>I 110% agree with you. It did not even occur to me to put the restore method in the act method. In our class we just made up bugs that would do an assortment of things, like teleportation, bringing dead bugs to life, freezer, hippy bug, and trans-dimensional bug(don’t ask). I think that really helped when I was making this bug.</p>
<p>@ZeldaMaster123</p>
<p>Too late now, collegeboard has probably already taking a screenshot of your post and they have already started tracking your ip address and figuring out who you are so that they can give you a 1 for cheating after the test is over. :D</p>
<p>Wait guys… I’m so confused…
I thought we were supposed to write the restore method and override the act method?
(well… thats sort of what i did… now i think its wrong)</p>
<p>When I rewrote act, I did something along the lines of a remainder check, where if the test int was odd then it would just save the loc and dir and super.act(), and if the int was even then it would use restore(), and after either it would test++. Is that horribly wrong?</p>
<p>When I write code, I tend to make it more complicated then I have to! The 3rd one I wrote something and then realized it wouldn’t work, and then wrote double the amount of code to make wat i wrote work instead of just coming up with a new method I dunno how the readers are gonna look at it.</p>
<p>I did screw up on the 2d arrays though. I used array.length for both of my for loops for both parts because i didn’t remember there being a numrows or numcols method, and it wasn’t on the quick reference :/. How much do you think that will be off?</p>
<p>Overall, I think I got 25-35 in the multiple-choice, I also almost ran out of time, had to guess on like two, but it was logical guesses cuz i had eliminated some choices. Then I probably got like a 9 on the first FRQ, maybe a 7 on the other 3. What does that come out to?</p>
<p>@ColleteT</p>
<p>The restore method was a method that when INVOKED it would take the bug back to it previous direction and position if that position was free or had a flower in it. This method was just like a bring dead bugs back to life method. It would be invoked in a different class. It was a method that would add extra functionality to this bug.</p>
<p>Invoked is a key word meaning it is it’s own independent method that is called by other methods.</p>
<p>in the gridworld questions, how many points would you lose if you didn’t declare it static?</p>
<p>What do you guys think will be the curve for this test?</p>
<p>maybe 59 for 5? at very lowest</p>
<p>@dblocks</p>
<p>What would you declare static? Was it in the method declaration? Or was it variables? Or class being called static?</p>
<p>I didn’t declare anything static, I think, I don’t remember very well.</p>
<p>Also the AP Com Sci does not have a very good curve, if it was 59 for a 5 I would be jumping on my feet because I 100% for sure got a 5 then. I think it will be close to 64 or 65 for a 5.</p>
<p>I declared the Location loc and int direction static and initialized them in the overrdiden act method to the bug’s current location/ direction. Then, in the restore method, I used several if statements for checking what was in the location, using the instanceof thing.</p>