*** Official AP Computer Science A Thread 2013-2014 ***

<p>There’s lots of partial credit available on the free response questions. Write whatever you can in the time you have available, even if it’s incomplete. Also, try every part of the questions; in many cases, part (b) allows you to assume that what you wrote in part (a) works correctly, even if you didn’t complete it. Good luck.</p>

<p>After the AP, try this. <a href=“Patreon » stinto”>http://stinto.net/woek5&lt;/a&gt; for all “defiant” spreading of information.</p>

<p>Hey guys, check out this website to see what you should remember b4 the test: </p>

<p><a href=“http://www.nhvweb.net/nhhs/math/jparziale/class-info/apcompsci/ap-computer-science-course-resources/things-to-remember-when-taking-the-ap-comp-sci-exam/”>http://www.nhvweb.net/nhhs/math/jparziale/class-info/apcompsci/ap-computer-science-course-resources/things-to-remember-when-taking-the-ap-comp-sci-exam/&lt;/a&gt; </p>

<p>Good luck to all :)>- </p>

<p>Can someone explain why this is infinite?
int sum = 0;
int k = 1;
while (sum < 12 || k < 4)
sum += k;
System.out.println(sum);
}
}</p>

<p>^ look only sum is updated but k will always be 1. So the condition k<4 is always true and therefore the while loop never ends.</p>

<p>public class APCompSci extends AP
{
int myScore;</p>

<p>/**@param score = score they give me
Precondition: score = 5
Postcodition: myScore is 5.
public APCompSci (int score)
{
myScore = score;
while (myScore < 5)
{
myScore++;
}
}</p>

<pre><code>return myScore;
</code></pre>

<p>}</p>

<p>Thanks for the explanation! Sorry, could you explain another one? These two questions are the two that I just can’t figure out on my practice MC.
public int recur(int n){
if (n<=10)
return n*2;
else
return recur(recur(n/3));
}</p>

<p>What is returned as a result of the call recur(27)?
A) 8
B) 9
C) 12
D) 16
E) 18</p>

<p>I don’t understand why this isn’t 18. The answer is 18. </p>

<p>I am screwed. I ALWAYS got a 4 and 4+ on Barron’s practice tests (strictly timed) and answered everything before time.</p>

<p>Today I had my actual AP Comp Sci test, MCs were extremely hard, I was so slow that I could only answer ~25 questions and guessed the rest. FRQs were easy, I think I did everything correctly.</p>

<p>I am so pissed. I worked hard and was expecting a 4 or a 5 as most people say the actual test is easier than Barron’s.</p>

<p>Maybe 5 hours of sleep the night before influenced my speed. </p>

<p>How much am I most likely getting?</p>

<p>@hollowsunsets I hope I didn’t miss you before you left for school. Your mistake is exactly what they were hoping you’d fall for.</p>

<p>public int recur(int n){
if (n<=10)
return n*2;
else
return recur(recur(n/3));
}</p>

<p>Notice how the call is recur(recur(n/3)); If it were just recur(n/3), your answer of 18 would be correct. But it actually is calling it again. Here’s the breakdown of what happens:</p>

<ul>
<li>21 -> recur(recur(9)) -> recur(18) -> recur(recur(6)) -> recur(12) -> recur(recur(4)) -> recur(8) -> return 16. I believe (unless I’m too tired to think straight) that the answer is D. 16.</li>
</ul>

<p>@ssgupta If you did really well on the FRQ (like nearly perfect), then you should be fine to get in the 4/5 range… I honestly don’t know the real curves, as I’ve never had the class (just self studied)… Realistically, chances are you got at least 5 of the 15 you guessed on correct, which is 75% correct… That, along with a perfect FRQ,<em>should</em> be good enough.</p>

<p>So let’s hope that’s good enough, because my recent practice tests have been pulling me down.</p>

<p>@terrapin45 thanks! I am hoping for the best! I don’t know why I was so slow. One advice for you: SLEEP 8+ hours the day before the test. Research have shown that lack of sleep lessens the capacity to solve HARD problems (although the research showed that lack sleep does not lessen the ability to do EASY problems).</p>

<p>Completely bombed the frq. The multiple choice wasn’t bad though.</p>

<p>Thought the multiple choice had way too many recursions and “code run-throughs.” Although I finished, it took way too long to do each question and I did not check over many of them. </p>

<p>Anyone else do horribly on the FRQ?</p>

<p>The multiple choice was really annoying. I didn’t use my time well and had a numb head for 2/3s of the test. However, I’m pretty sure I got all FRQs correct minus 1 or 2 points max.</p>

<p>How did this year’s test compare to past tests? I’m hoping the curve will be better.</p>

<p>What was the scrambled answer to the “epic” problem</p>

<p>ipce if I remember correctly…</p>

<p>I completely guessed for that one. I thought the FRQs were extremely easy, but that the MC was a bit taxing. It wasn’t necessarily hard, it just took a lot of time =/</p>

<p>anyone know the answer to the question where it initialized a few flowers and a rock and a chameleon critter? i said the one where it was facing SW but i’m really not sure</p>