2010 AP Computer Science Discussion

<p>2-D arrays and abstract classes is all I know. From what I know though, these extra questions are only like 3 extra questions on the MC. For a score like 39/40, i wouldn’t worry about ahaha.</p>

<p>rofl i know abstract classes and matrices i thought that was on it to begin with XD</p>

<p>That’s it? Haha. Aren’t 2-D arrays covered in GridWorld anyway? And abstract classes are easy.</p>

<p>That was a lot less dramatic than I had expected.</p>

<p>Eh did you take an AB exam? Tell me what you studied to get that 39 you beast.</p>

<p>Never taken AB. I found that the best way to ace the MC is NOT by learning to code your own work but by debugging other pplz work that is incorrect. I helped a bunch of ppl in a java course over the summer and i was the one who was scanning their code to see where it was going wrong so I perfected my ability to trace code that way. But at this point idk if switching to that approach a day b4 the test will really help you :/</p>

<p>they are also putting some speed problems in the A</p>

<p>@darkeyes: Amen to that, that is indeed a fine technique, one more teachers should utilize -_-</p>

<p>@bboy: speed problems?</p>

<p>I took the exam last year. Didn’t study at ALL except for one practice exam my teacher gave us. Didn’t know crap about grid world. Easiest 5 ever.</p>

<p>There’s only like 0-1 MC about speed usually, I’ve seen some before. Basically, they ask which statement executes faster. I guess you just have to use common sense for these.</p>

<p>

</p>

<p>19 MC raw score (assuming you got everything you answered right, and skipped 21 questions) + (8/9 pts x 4 FRQs) x 1.11 multiplier = 35.52 + 19 = 54.52 :O</p>

<p>Would the curve really be that nice? Here’s to wishing, waiting, hoping. ):</p>

<p>The Barrons seem easier than the AP to me… o.O.</p>

<p>@HYPSM: maybe that is a lil too generous ahah, but just a lil</p>

<p>@bboy: yeah I know what that is, the efficiency, usually attributed to sorts. that’s odd, almost everyone I know says the barron’s is much harder, barrons generally is.</p>

<p>Question: Which is more efficient if you have an unsorted list?</p>

<p>a. sequential search
b. sort + binary search</p>

<p>… One of my books said sequential was faster i think but i just wanted to confirm…</p>

<p><a href=“http://talk.collegeconfidential.com/ap-tests-preparation/921956-freaking-out-about-ap-computer-science-any-last-minute-tips.html[/url]”>http://talk.collegeconfidential.com/ap-tests-preparation/921956-freaking-out-about-ap-computer-science-any-last-minute-tips.html&lt;/a&gt;&lt;/p&gt;

<p>yeah sequential is faster, because the time it would take to sort the list (because you need to sort to use binary) would negate binary’s innate swiftness.</p>

<p>can anyone explain to me the instantiations of parent classes, etc. For example, for a parent class Car and a class Truck that extends Car:</p>

<p>Car myCar = new Car();
Car myTruck = new Truck();
Truck theTruck = new Truck();</p>

<p>What are the differences between these, and what methods are they restricted to, etc. Thanks.</p>

<p>got it :stuck_out_tongue: i just wanted confirmation on that one.</p>

<p>yeah np.can you help me with my question? it confuses the hell outta me.</p>

<p>Car myCar = new Car(); //normal creation of a Car object pointed to by “myCar”</p>

<p>Car myTruck = new Truck(); //“myTruck” can point to any Car object, and it happens to be pointing to a newly created Truck object at the moment.</p>

<p>Truck theTruck = new Truck(); //normal creation of a Truck object pointed to be “theTruck”. It can still access all methods in the Car class.</p>

<p>Ah I see. So for Car myTruck = new Truck(); , basically, when you say it is pointed to the newly created Truck “at the moment,” that’s at compilation time correct? So the part on the right of the = is at compilation time, and on the left of the = is at runtime?</p>

<p>I guess, since objects are created at runtime. But that wasn’t my point. What I meant by “at the moment” is that you could say this:</p>

<p>Car myTruck = new Truck();
myTruck = new Car();</p>

<p>Without causing a syntax error, because myTruck can point to a Car AND it can point to any subclass of Car.</p>