11/2

Today's Warm Up

HELP!!!! I'm LOST!!!!

Go to map quest and look up the directions from you home address to Bluestone High School. (Address: 6825 Skipwith Road, VA 23968)

You will put the directions from you house to BHS in a list (in order) to tell your friend how to get to school to pick you up early.

Basically, you will be creating a SNAP! GPS.

Requirements:

  • You will need to include the mileage of each road in parenthesis after displaying the given direction.
  • Use variables
  • Create a list of the directions
  • Traverse the list
  • Display each item in your list for 3 seconds.

Assume you have check out in the office. Create a new script that will tell your friend how to get back to your house using the exact same list without any changes to it.

SAVE AS: GPS Warm Up-Last Name

Subject of email: GPS Warm Up-Last Name

WAIT!!!! Type in the message box of the email and answer the following questions.

  1. What is wrong with these new directions?
  2. What do you think we can do to fix it (without manually altering the list)?
  3. Think of how you could you change your first solution so that instead of saying each step of your directions for 3 seconds, it instead changes to the next step of your directions when you arrive at the location mentioned in your current step of your directions. What information(data) would you need to solve this problem? What algorithm could you use to achieve this given access to the data you listed as being necessary?