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: HLMYFW
Or you can click this link: https://studio.code.org/join/HLMYFW
Once you press the "Go" button, you should be added to the section.
Read the first Chapter 1 of Java Programming 10th Edition by Joyce Farrell below and complete the accompanying notes. You may download both of these and print off the notes. I would not suggest printing the chapter, as it is full of color and a little long, but if you want to, feel free. You will see some of the terms and concepts from this on your test/quiz the first week of school.
Some of the information will be a bit of a review from last year, and some will help explain what you will be learning when we start this year. Don't stress out too much if some of the new information does not make complete sense just yet, we will learn all about it this year. This is meant to get you ready and have a base knowledge of what we will be covering.
Some of the information you will read will not pertain to our class, and make note of the sections I have crossed out with a red X. You will also notice that some pages are missing, this is because it was either you doing something or information that you do not need to cover.
To open the files below, click on the Pop-out button on the top right of each. From there you can read, download, and/or print.
The Summer Assignment is a Word document if you want to download and type your answers instead of printing and writing :)
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.