AP Computer Science HELP

<p>Hi, I was wondering if it was ok to write </p>

<p>int n = IO.readInt(); //read user input</p>

<p>instead of writing the whole code for inputing data into a variable (on the AP exam ofcourse) </p>

<p>The reason Im asking is because that is how my Barrons book is showing the code and since Im self-studying it, I cant follow nothing else :/</p>

<p>i don't really know much about AP comp science but just try it on the Java thing you are working with. </p>

<p>also just wondering is one year of computer science enough for the exam. I'm in comp math which is below AP so would that be enough or should I get another year? Thanks</p>

<p>
[quote]
i don't really know much about AP comp science but just try it on the Java thing you are working with.

[/quote]
</p>

<p>LOL... I wish I could just "try it" but I was refering to the actual AP Exam which would mean taking the test twice which I don't plan to do.

[quote]

also just wondering is one year of computer science enough for the exam. I'm in comp math which is below AP so would that be enough or should I get another year? Thanks

[/quote]
</p>

<p>I have 0 years experience!! Just get a Barron's book from your library or something and cover the topics about a month or two before the exam. The reason is because there are things like the Marine Biology Case Study and several other stuff you should review/learn before the exam (Im talking about the AP Computer Science A exam of course) </p>

<p>AP CS AB goes much more in depth and covers stuff like data structures, linked lists and stuff..</p>

<p>I'm pretty sure you can input data like that on the AP exam, there isn't really any other way unless there's a defined file that does it for you. In class, we had a keyboard input reader that we could link to our java files and read inputted data through that, but that is the fast, lazy way of doing it. Look through some of collegeboard's free response questions and see if they have any questions that require users to input data.
I really don't remember if there was a question like that on last year's exam, which is why I'm not positive if you can input data like that, but if Barrons shows you like that, then you probably can.</p>

<p>Comp Sci A exam isn't too hard to study for, especially if you have some programming experience. Just review the MBCS and get a prep book to study for it. I used PR and Barrons with the AP Computer Science for Java textbook. But if you have the time, try and study the AB topics if you plan on exempting intro programming in college. Most colleges only accept AB credit for exemption. My friend Sagar (CC username: sagar_indurkhya) self studied AB and got a 5, so it is possible to self study.</p>

<p>
[quote]
int n = IO.readInt(); file://read user input

[/quote]
</p>

<p>Don't worry about I/O, it's not part of the AP exams.</p>

<p>If you're good at programming, it's easy to prepare the exam even without prior knowledge of Java. If you don't know programming, it would be difficult to self-study by reading a prep book like Barron's.</p>

<p>That's not part of the exam. Study algorithms, methods, classes, etc.</p>

<p>the best way to test these stuff is to put it into a program to see if it works</p>