Welcome to College Confidential!

The leading college-bound community on the web

Sign Up For Free

Join for FREE, and start talking with other members, weighing in on community discussions, and more.

Also, by registering and logging in you'll see fewer ads and pesky welcome messages (like this one!)

As a CC member, you can:

  • Reply to threads, and start your own.
  • Post reviews of your campus visits.
  • Find hundreds of pages of informative articles.
  • Search from over 3 million scholarships.

AP Computer Science HELP

GandhijiGandhiji Registered User Posts: 713 Member
edited January 2006 in AP Tests Preparation
Hi, I was wondering if it was ok to write

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

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

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 :/
Post edited by Gandhiji on

Replies to: AP Computer Science HELP

  • sciencenerdsciencenerd Registered User Posts: 1,735 Senior Member
    i don't really know much about AP comp science but just try it on the Java thing you are working with.

    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
  • GandhijiGandhiji Registered User Posts: 713 Member
    i don't really know much about AP comp science but just try it on the Java thing you are working with.

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

    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)

    AP CS AB goes much more in depth and covers stuff like data structures, linked lists and stuff..
  • michael_phammichael_pham Registered User Posts: 651 Member
    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.

    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.
  • russmossrussmoss Registered User Posts: 7 New Member
    int n = IO.readInt(); file://read user input

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

    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.
  • MaxSMaxS Registered User Posts: 8 New Member
    That's not part of the exam. Study algorithms, methods, classes, etc.
  • SeraphthroneSeraphthrone Registered User Posts: 339 Member
    the best way to test these stuff is to put it into a program to see if it works
This discussion has been closed.