AP Computer Science

AP Computer Science

In AP Computer Science A, you’ll get a comprehensive introduction to computer science concepts by learning part of the Java programming language.  

There are 2 parts to the preparation for AP CSA, with the goal of becoming familiar with proper syntax and code formatting, and of developing your Java code-reading skills. 

This summer assignment will be due on the first day of class. 

Part A. Java Tutorial 

Read through the Java Tutorial pages on W3 schools: https://www.w3schools.com/java/default.asp 

Read through each tutorial page, and when available, press the "Try it Yourself" button to see what happens. Then answer these questions (Part A Questions) in your own words, but be concise. There are more instructions in the Part A file. 

Part A Questions

Part B. Practice Reading Code 

Download this file (Part B Code) and practice reading the code. Answer the questions for each piece without help first. Once you’ve done that, run the code in an IDE like jDoodle (link to: JDoodle - Online Compiler & IDE for 110+ Languages | Free) and check your answers. If you got it wrong, try to figure out why. There are more instructions in the Part B file. 

Part B Code