Let's Self-Study Comp Sci for 2011-2012!

<p>The exam is on paper.</p>

<p>Everything is on paper. So it might be a good idea to not rely on an IDE to correct your mistakes ;)</p>

<p>Note that graders do not take points off for minor syntactical errors (forgetting a closing brace, for example), so while you should obviously proofread your code, don’t beat yourself up over every last brace when you’re preparing for & taking the exam.</p>

<p>Can somebody find what’s wrong in my if statement here? By the way, the Stanford link is the best thus far.</p>

<p>import stanford.karel.*;</p>

<p>public class CollectNewspaperKarel extends SuperKarel {</p>

<pre><code>public void run() {
turnRight();
move();
turnLeft();
for(int i=0;i<3;i++){
move();
}
pickBeeper();
turnAround();
for(int i=0;i<3;i++){
move();
}
turnRight();
move();
putBeeper();
turnRight();

}

if(beepersPresent()) {
pickBeeper();
} else {
putBeeper();
}
</code></pre>

<p>}</p>

<p>7steps, please help me! I’m so lost on how to set karel up…</p>

<p>7Steps, you have an extra brace. Remove the one below “turnRight();” and above “if(beppersPresent()) {” and I think it will help.</p>

<p>Yeah sure why not</p>

<p>Okay, thanks, burgerking316 (lolz at your screen name.)</p>

<p>aboveblues, I’m not on that part yet, and I’m also on a Windows. Sorry that I can’t help much. Try to check your syntax.</p>

<p>Can anyone help me set up Karel? I’m using Dr. Java and windows and I have no clue how to do it :(</p>

<p>Just download Eclipse, it will be alot easier. Then just open assignment one.</p>

<p>Haha i would like to join too. But How should i start prepare before school starts???</p>

<p>Look at the resources others have posted.</p>

<p>Hey guys I’m up for AP Comp Sci as well too =)</p>

<p>I have the Barron’s and Litvin’s book and the Think AP Java ebook.</p>

<p>Does anyone think going through the Think AP Java Ebook and than going through Barron’s and Litvin’s is a good approach? I want to learn the language in as less time as possible and play with it. We could debug codes for each other as an exercise once we’re at the point =)</p>

<p>By the way, which one should I download?</p>

<p><a href=“http://www.eclipse.org/downloads/[/url]”>http://www.eclipse.org/downloads/&lt;/a&gt;&lt;/p&gt;

<p>@brajan: I’m not familiar with the books besides Barron’s, but I’ve heard that that alone is more than enough. I’m not very far into it and I can already tell that a lot of the info is superfluous.</p>

<p>Download Eclipse from the Stanford website, it’s user friendly.
<a href=“http://www.stanford.edu/class/cs106a/software/[/URL]”>http://www.stanford.edu/class/cs106a/software/&lt;/a&gt;&lt;/p&gt;

<p>I know it’s late, but… well, I’m taking CompSci in school, but… need to get a bit of a head start. So, I’m interested. Also, the class is essentially a self-study, so I think working with others on CC would be helpful as well.</p>

<p>How is everyone coming along? Have most of you started? What are you currently studying?</p>

<p>I’ve been kind of busy lately so I haven’t done that much. I covered the first chapter of Barron’s and completed/checked the questions at the end of the chapter. I’m a bit into the second chapter, but I’m kind of confused about classes/methods/accessors and stuff so I’ll have to find something to help. I finished taking notes on Unit 1 of the course walkthrough I found online but I’ve yet to try the unit test and projects.</p>

<p>How is everyone else doing?</p>

<p>I’ve been busy as well. I’m a little behind you in the barron’s book, but I’m focusing more on the CS106a course. I’ve finally got Karel to work in Eclipse, so I’m working on the Assignments for the course. Are you using the Stanford course at all BK?</p>

<p>@7steps-why do you even need the if statement? This is my program:</p>

<p>import stanford.karel.*;</p>

<p>public class CollectNewspaperKarel extends SuperKarel {</p>

<pre><code>public void run() {
move();
move();
turnRight();
move();
turnLeft();
move();
pickBeeper();
turnAround();
move();
turnRight();
move();
turnLeft();
move();
move();
turnAround();
}
</code></pre>

<p>}</p>

<p>and it works just fine. I understand that there’s more than one way to get the job done, but why use a complicated method to get the same thing accomplished?</p>

<p>aboveblues, for some reason I thought the Stanford Course taught Python as opposed to Java, so I didn’t look at it. I just watched the first two videos and it’s very informative. Thanks for mentioning it, because I can see that it’s going to help. I’ve already got a bit of a background in computer programming so I’m just going to watch the lectures for Karel and not do the assignments. I may do the Java assignments when I get to them in the course.</p>