APCS summer assignment

It is important in computer science to follow instructions carefully. Please read all of the words, do not skim them like a novel for your humanities classes.

AP Computer Science is an elective that is far more rigorous than the required foundations course. APCS requires a lot more work, and can be very difficult at times.

This pre-coursework is designed to ensure that all students entering the APCS course have the same prior knowledge. The goal is to give all students the opportunity to succeed, no matter what their intro experience was like.

This assignment is NOT intended to be completed in one sitting at the last minute (as many Stuyvesant students think is ideal). You should spread out the work over the course of 1-2 weeks. Complete a little every day, and you will thank yourself later.

Remember that you should try to learn this material, not "get it done so you don't lose points".

This is not to say that all students will have the same experience while completing the pre-coursework. It may be the case that you struggle with it, but it is better to struggle a little over the summer when you are not taking a full courseload.

Java textbook that we suggest

Other Java resources

Assignments

To the many stuy students that only do things that are checked by the teacher: Many of the questions are for self assessment. If you choose to skip them your teacher will probably not check. Instead:

  • your teacher will quiz you and see if you learned the material.
  • you will be competing with students that learned the material.

PRO TIP: Do not copy and paste code from online sources or earlier assignments. Even if you are copying an example to test: typing valid java code will help you remember the Java constructs and will make later sections of the program easier.

  1. Before You Code / Setting up your computer

  2. Hello World

  3. Data Types and Assignment Statements

  4. Methods

  5. Booleans and Conditionals

  6. Loops

  7. Arrays

  8. You should have now completed all of the problems here (except the optional Strings section): codingbat.com/home/konstans@stuy.edu/summerapcs

  9. Final Program