This summer assignment should not take you very long and will be more beneficial if you do this closer to the start of school, especially the coding refresher in part 2.
Create a Code.org account. If you already have an account, skip to the next step. Note you can either sign up with an email address (make sure it's one you have access to), or sign up through Google, Facebook, or Microsoft by clicking one the appropriate buttons.
Sign in to your Code.org account.
Navigate to https://studio.code.org/join and type in our class section code: <will be available in August>
Or you can click this link:
Once you press the "Go" button, you should be added to the section.
Read the assigned pages from Chapter 1 of Java Programming, 10th Edition by Joyce Farrell and complete the accompanying guided notes.
The purpose of this reading is to introduce you to Java, the programming language used in AP Computer Science A, and to help you begin thinking about programs in terms of classes, objects, methods, and data. You are not expected to master every detail before class begins.
As you read, focus especially on:
what Java is used for,
how Java programs are organized,
what it means for Java to be object-oriented,
the difference between a class and an object,
basic vocabulary such as source code, compiler, bytecode, syntax, and runtime errors.
Some of this will review ideas from previous computer science courses, and some will introduce new ideas we will study in more detail this year. Do not stress if every new term does not make complete sense yet. This assignment is meant to give us a shared starting point.
If a section is marked with a red X, you may skip it. If pages are missing, that is intentional. The reading has been shortened to include only the parts that are useful for our AP CSA class.
Before the first day of class, you should have:
read the assigned Chapter 1 pages,
completed the guided notes,
written down at least three questions or confusing terms,
answered this question in your own words: What does it mean that Java is an object-oriented programming language?
To open the files below, click the pop-out button in the top right corner of each file. From there, you can read, download, and/or print. The summer assignment notes are provided as a Word document if you would rather type your answers instead of printing and writing them.
I will check the notes on the first day of class to ensure you have completed them and we can have a discussion on any questions you have.
Taking AP CSA assumes you have already taken, and showed proficiency in, AP CSP or some other equivalent computer science course in high school. If you have not, you need to discuss your ability to complete this class within the expectations with Ms. Beaman & Mrs. Mulkey.
Practice Problems:
In your Codespace from last year, create a folder named csa
If prompted, log in with your GitHub username and password
FizzBuzz
In your csa folder, create a file named fizzbuzz.c
In this file, complete the task:
Write a short program that prints each number from 1 to 100 on a new line.
For each multiple of 3, print "Fizz" instead of the number.
For each multiple of 5, print "Buzz" instead of the number.
For numbers which are multiples of both 3 and 5, print "FizzBuzz" instead of the number.
** Need a Hint?
Calculator
In your csa folder, create a file named calc.c
In this file, write a short calculator program that only adds, subtracts, multiplies and divides
Get the input from the user for both numbers to be calculated
Ensure that you will not have a divide by zero error
Extra credit: make functions for each operation or use a switch statement, or both
You will not submit these problems, rather show them to Ms. Beaman the first day of class. These programs do not need to be perfect. I want to see evidence that you tried, tested your code, and can explain what your code does.