### Computer Science Classwork

#### Data Collection

Click the link below to read an article about how your search history can tell a lot about you: After reading the article, answer the following question on your class notes page: How would you feel if your search history was published for anyone to see? Explain why you would feel this way. |

#### Handshakes and Fenceposts

1. Handshake Problem #1: Assume there are 20 people in a room, including you. You must shake hands with everyone else in the room. How many hands will you shake? If there are N (where N > 0) people in the room, how many hands will you shake? 2. Fence Post Problem: You need to build one side of a fence that is 12 yards long. This fence will be built with fence posts and rails that connect one fence post to another. If each fence post is 1 yard away from the next fence post, how many fence posts will be needed for this side of the fence? How many fence posts will be needed for a side of a fence that is N (where N > 0) yards long?
3. Handshake Problem #2: Assume there are 10 people in a room, including you. Each person in the room must shake hands one time, and only time, with all the other people in the room. How many handshakes will occur? If there are 20 people in the room, how many handshakes will occur? If there are N (where N > 0) people in the room, how many handshakes will occur? 4. Reflections: Why are problems like these important to learn how to solve? How could this type of solution be of benefit to a carpenter, a chef, a teacher? |

#### Programming Music

Click on the file below for the worksheet. Answer the questions in your class notes page for today. |

#### Creating a Flow Chart

Warm-up: What is the subject of your flow chart? What kinds of people do you think will use your flow chart? Is the purpose of your flow chart to be helpful or entertaining (or both)? Activity: We will begin creating our flow charts today! If you are using an iPad, you will use the inspiration app. If you are using a desktop computer you will use Bubbl.us. Start by making a bubble for each of your final options (different teams, foods, musicians, etc.), then create bubbles for each question you will ask. Finally, use arrows to show which path to take after each answer. Summary: Look at a neighbor's flow chart and work through it. Write down your result and then write 3 things you liked about their flow chart. |

#### Flow Charts

Warm-up: Welcome back from break! What was the best part of break for you? What was the worst part of break for you? Explain why. Notes: Flow Chart: a graphic representation of the successive steps in a procedure or system, using symbols interconnected with lines or arrows. Activity: Look at each of the flow charts below. Imagine a situation when you would use the flow chart to make a decision. Go through the flow chart, answer the questions, and write down your result in your class notes. Now that you have practiced using flow charts, we are going to begin creating one of our own! Think about what you are passionate about. Within that passion, what is something that has many different options? For example: different sports teams, different foods, different musicians, different games. List all of the different options that you wish to include. Summary: What are some of the questions you can ask to narrow down the options for the person using the flow chart? |