Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

Full Transcript

Student activity guide STEP 1: PREVIEW YOUR MISSION In today’s activity, you will write, evaluate, and sequence a series of algorithms of our own. Mission Checklist ❏ I wrote out the steps for 3 algorithms. ❏ I answered reflection questions about my algorithms. ❏ I evaluated and re-sequenc...

Student activity guide STEP 1: PREVIEW YOUR MISSION In today’s activity, you will write, evaluate, and sequence a series of algorithms of our own. Mission Checklist ❏ I wrote out the steps for 3 algorithms. ❏ I answered reflection questions about my algorithms. ❏ I evaluated and re-sequenced 3 algorithms. STEP 2: READY, SET…Go! Write your own algorithms, making sure they are clear and in order. Then, evaluate some algorithms and make necessary corrections. writing algorithms 1. First, read the prompt for your algorithm. 2. In the space provided, write out the steps for the algorithm. Make sure your instructions are clear, concise and in the correct order. 3. Then, answer the two reflection questions in the space provided. 4. Repeat steps 1-3 for each prompt. Write an algorithm for getting to school: Add steps as needed! 1. 2. 3. 2 Student Activity Guide Is this a successful algorithm? If I follow these rules in sequence, will I achieve the desired outcome each time? Is this efficient? Did I use the least amount of steps that would still accomplish this goal? Write an algorithm for checking your email: Add steps as needed! 1. 2. 3. Is this a successful algorithm? If I follow these rules in sequence, will I achieve the desired outcome each time? Is this efficient? Did I use the least amount of steps that would still accomplish this goal? Write your own algorithm for: LESSON 0.5 | WHat is a program? 3 Student Activity Guide Add steps as needed! 1. 2. 3. Is this a successful algorithm? If I follow these rules in sequence, will I achieve the desired outcome each time? Is this efficient? Did I use the least amount of steps that would still accomplish this goal? Evaluating algorithms 1. Next, read the steps for Algorithm A in the first column. 2. Determine if the steps are in the correct order or not. 3. If the steps are not in the correct order, use the column on the right to rewrite the steps in correct order. 4. Repeat these steps for Algorithms B and C. LESSON 0.5 | WHat is a program? 4 Student Activity Guide ALGORITHM A: BRUSHING YOUR TEETH What is the correct order? Use gentle circular motions to brush the fronts, backs, and tops of your teeth. Rinse your mouth and toothbrush with water. Place the toothbrush in your mouth. Wet your toothbrush and apply a pea-sized amount of toothpaste to the bristles. ALGORITHM B: Cooking pasta What is the correct order? Drain the pasta. Turn on the range to boil water. Add pasta to the boiling water. Cook the pasta for the length of time indicated on the pasta package. Fill a pot with water. Serve the pasta with your choice of sauce. LESSON 0.5 | WHat is a program? 5 Student Activity Guide ALGORITHM C: washing hands What is the correct order? Put soap on your hands. Lather the soap in between your hands for 20 seconds. Turn the sink on. Turn the sink off Wet your hands under the sink. Wash the soap off your hands with water. Extension Activity If you have time remaining, continue on to this activity. 1. Review the maze. 2. Write 3 different algorithms to solve it. 3. Which algorithm required the least number of steps? Which required the most? LESSON 0.5 | WHat is a program? 6 Student Activity Guide Algorithm 1: Algorithm 2: Algorithm 3: Which algorithm required the least number of steps? Which required the most? LESSON 0.5 | WHat is a program? 7 Student Activity Guide review your checklist ❏ I wrote out the steps for 3 algorithms. ❏ I answered reflection questions about my algorithms. ❏ I evaluated and re-sequenced 2 algorithms. If you need help while working on your activity, you Need Help? can watch the video walkthrough by clicking the button here. Pause the video at any time and return to your activity to try out each step for yourself! Appendix: VOCABULARY Find this lesson's vocabulary below. algorithm (n): A set of step-by-step instructions that can be followed to perform a specific task, with or without a computer. program (n): A set of instructions written in coding language that a computer can follow to perform a specific task. Appendix: Helpful Links Use the links in this section if you are stuck or simply want to know more about a concept. Project Links Additional Links Project STEM Career Explorations n/a Activity Walkthrough Video LESSON 0.5 | WHat is a program? 8 Student Activity Guide My cse3 journal Extra space for notes, thoughts, and other things! Notes LESSON 0.5 | WHat is a program?

Use Quizgecko on...
Browser
Browser