OFFICIAL 2012 AP Computer Science A Thread

<p>

It’s much heavier on the concepts than it is on the actual language.
I would say AB was more on the language side.</p>

<p>I’m pretty sure we do, the first page of each section mentions the Quick Reference in the appendix.</p>

<p>Would someone mind clarifying methods for me? So there two methods below, both of which are returning a number, but the first one has “static” in it and the second does not.
When exactly would you use static?</p>

<p>public static int doubleMe( double x )
{
return (int)(2.0 * x);
}</p>

<p>public int getEmployeeID()
{
return myEmployeeID;
}</p>

<p>I really feel like I should review more but have no idea what I should review!</p>

<p>Static things belong to the class.
Non-static things belong to individual instances.</p>

<p>int x = ClassHere.someStaticVariableHere;
ClassHere instance = new ClassHere();
x = instance.someNonStaticVariableHere;</p>

<p>Thanks, semaphore. How about void methods? Do they belong only to the class too?</p>

<p>Void just means that the method doesn’t return anything.</p>

<p>Would it be better to make that doubling method static or not? Or do you have to make it static?</p>

<p>It all depends on the usage.
Usually, they will not be static.</p>

<p>Ah okay, thank you!</p>

<p>Does anyone know about how much of the test will be on searching/sorting methods? I’ve sort of reviewed them but not really lol</p>

<p>there will be between 0-2 searching and sorting questions in MC. (most likely)</p>

<p>Well, in the official practice test, they did</p>

<p>Excuse my double post, but I think my question got lost somewhere around page 2. We don’t have to write anything other than the answer for the free response right? (i.e. if it asks for a class, we just write the class, nothing else) I’m asking because it says to “show your work” but the only thing I can think of to write is the answer.</p>

<p>Yes, just the answer.</p>

<p>Great, thanks! Good luck to all of you.</p>

<p>Also static methods can not access non-static instance variables from the class</p>

<p>how different is the current test than the 2008 Audit Exam? i know the format switched over a little in 2010 but i’m not really sure how to compare it, because i feel the 2008 was very, very simple compared to the Barron’s practice tests and the ones in Litvin</p>

<p>How did the format change a little in 2010? I feel really uninformed about specifics since I took it online. I think we can be safe in knowing that Barron’s is always if not almost always going to be harder than the real thing though.</p>

<p>yeah, i figure barron’s is harder, but in 2010 they did away with the Computer Science AB exam and apparently combined some of the elements from AB into the new curriculum, like abstract classes and 2D arrays. im just wondering how different the 2008 exam, from before the change is, from the new format (if any/much)</p>

<p>In 2009 there was still the AP Computer Science AB exam. With that test now being eliminated, some of the topics came over to A. This includes 2D arrays and List.</p>

<p>Compared to the 2008 A practice test, that didn’t have any questions on inheritance or sorting and expect those to be on this test.</p>