AP COMPUTER SCIENCE PRINCIPLES
Preparation for 2016 - 2017 School Year
For Students who have NOT had Wired
NOTE: If you've had Wired, you are NOT required to complete these assignments. However, you will still take the test the first week, so you may want to review this material!
Preparation for 2016 - 2017 School Year
For Students who have NOT had Wired
NOTE: If you've had Wired, you are NOT required to complete these assignments. However, you will still take the test the first week, so you may want to review this material!
DIRECTIONS:
Complete the following seven assignments and turn them in by Tuesday, September 6, 2016 (first day of school)
FIRST: Create an electronic folder titled: LastnameFirstnameAPcspSummer
You will turn in your work by "zipping" the folder and emailing it to Mrs. Hasseld at: annehasseld@hartlandschools.us
FOR EACH ASSIGNMENT:
A. name it as follows: LastnameFirstnameAPcspSummer# - with the # being the assignment number
example: HasseldAnneAPcspSummer1
B. Place it into the LastnameFirstnameAPcspSummer folder you created
FLOW CHARTS:
Assignment One: Read this presentation on flow charts. Take notes using the Cornell Notes Method (click link if you aren't familiar w/ this type of note taking or need a refresher) : DOCUMENT NAME: LastnameFirstnameAPcspSummer1
flow charts
Assignment Two: Then, create a flow chart for the following scenario:
I have given a quiz to my students. I need you to create the piece of the program that converts the quiz score to a letter grade. The quiz is worth 10 points. If the student’s score entered is a 9 or 10, the letter grade is “A”; if the score is 8, the letter grade is “B”; if the score is 7, the letter grade is “C”; if the score is 6, the letter grade is “D”, if the score is less than 6, the letter grade is “E”.
To save this document, take a picture of the flow chart you have made. DOCUMENT NAME: LastnameFirstnameAPcspSummer2
Assignment Three: Read this article about computer programming and Take notes using the Cornell Notes Method (click link if you aren't familiar w/ this type of note taking or need a refresher) DOCUMENT NAME: LastnameFirstnameAPcspSummer3
SCRATCH:
Scratch is a free program you can access online at: https://scratch.mit.edu/
You need to learn the basics of Scratch. Set up an account. Use the tutorials to learn the basics of Scratch. You can find them here: https://scratch.mit.edu/help/
Assignment Four:
Create a program that allows a user to play “hide and seek” with a sprite. Include the following elements:
o The sprite saying “come and find me” – or something similar
o The sprite appearing and then disappearing on the screen (hint: instead of having the sprite “move” think about having the sprite appear at a certain location (x and y), stay for a bit and then move to a new location)
o If the user clicks on the sprite, something different should happen (the sprite says "I'm caught" or changes costumes or something)
DOWNLOAD the completed program onto your computer. DOCUMENT NAME: LastnameFirstnameAPcspSummer4
PYTHON:
Python is a free program. You can use it one of two ways: Download it onto your computer or use it online. If you need to download it, reference chapter 1 below for instructions on how to install it.
Python Chapters:
Chapter One Chapter Two Chapter Three Chapter Four
Complete chapter 2 in the book. There's not an assignment, but it helps you learn how Python works.
Assignment Five: Hello World program (this is chapter 3 in book). DOCUMENT NAME: LastnameFirstnameAPcspSummer5
Assignment Six: Guess program (this is chapter 4 in the book). DOCUMENT NAME: LastnameFirstnameAPcspSummer6
Assignment Seven: Create a document and answer the following questions:
Complete the following seven assignments and turn them in by Tuesday, September 6, 2016 (first day of school)
FIRST: Create an electronic folder titled: LastnameFirstnameAPcspSummer
You will turn in your work by "zipping" the folder and emailing it to Mrs. Hasseld at: annehasseld@hartlandschools.us
FOR EACH ASSIGNMENT:
A. name it as follows: LastnameFirstnameAPcspSummer# - with the # being the assignment number
example: HasseldAnneAPcspSummer1
B. Place it into the LastnameFirstnameAPcspSummer folder you created
FLOW CHARTS:
Assignment One: Read this presentation on flow charts. Take notes using the Cornell Notes Method (click link if you aren't familiar w/ this type of note taking or need a refresher) : DOCUMENT NAME: LastnameFirstnameAPcspSummer1
flow charts
Assignment Two: Then, create a flow chart for the following scenario:
I have given a quiz to my students. I need you to create the piece of the program that converts the quiz score to a letter grade. The quiz is worth 10 points. If the student’s score entered is a 9 or 10, the letter grade is “A”; if the score is 8, the letter grade is “B”; if the score is 7, the letter grade is “C”; if the score is 6, the letter grade is “D”, if the score is less than 6, the letter grade is “E”.
To save this document, take a picture of the flow chart you have made. DOCUMENT NAME: LastnameFirstnameAPcspSummer2
Assignment Three: Read this article about computer programming and Take notes using the Cornell Notes Method (click link if you aren't familiar w/ this type of note taking or need a refresher) DOCUMENT NAME: LastnameFirstnameAPcspSummer3
SCRATCH:
Scratch is a free program you can access online at: https://scratch.mit.edu/
You need to learn the basics of Scratch. Set up an account. Use the tutorials to learn the basics of Scratch. You can find them here: https://scratch.mit.edu/help/
Assignment Four:
Create a program that allows a user to play “hide and seek” with a sprite. Include the following elements:
o The sprite saying “come and find me” – or something similar
o The sprite appearing and then disappearing on the screen (hint: instead of having the sprite “move” think about having the sprite appear at a certain location (x and y), stay for a bit and then move to a new location)
o If the user clicks on the sprite, something different should happen (the sprite says "I'm caught" or changes costumes or something)
DOWNLOAD the completed program onto your computer. DOCUMENT NAME: LastnameFirstnameAPcspSummer4
PYTHON:
Python is a free program. You can use it one of two ways: Download it onto your computer or use it online. If you need to download it, reference chapter 1 below for instructions on how to install it.
Python Chapters:
Chapter One Chapter Two Chapter Three Chapter Four
Complete chapter 2 in the book. There's not an assignment, but it helps you learn how Python works.
Assignment Five: Hello World program (this is chapter 3 in book). DOCUMENT NAME: LastnameFirstnameAPcspSummer5
Assignment Six: Guess program (this is chapter 4 in the book). DOCUMENT NAME: LastnameFirstnameAPcspSummer6
Assignment Seven: Create a document and answer the following questions:
- --How do you create a variable in Python? How does that compare to scratch?
- —How do you store a variable in Python?
- —How do you overwrite a variable in Python?
- —What does it mean when Python “evaluates" an expression?
- —What’s a string? How do you indicate something is a string?
- Define the following:
- —functions
- —Modules
- —Loops, blocks
- —Boolean Data Type
- —Comparison Operator