<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>