Activity 2.1.1a Sandwich Algorithm
Introduction
An algorithm is a procedure or formula for solving a problem. A computer program can be viewed as an elaborate algorithm. In mathematics and computer science, an algorithm usually involvesa small procedure that solves a recurrent problem.
Engineers must communicate their solutions to a problem.Sometimes engineers communicate verbally and sometimes with written text and/or sketches. Communication is the tool that keeps all aspects of the design process on track. When the goal of a project is not shared or not obvious to everyone, then communication falls apart and often the project is not completed within its constraints.
Today you will write the steps to solve the recurrent problem of how to make the perfect sandwich.
Equipment
- Gateway notebook
- Sandwich ingredients
- Bread
- Butter knives
- Paper plates
- Food service gloves
Procedure
- In the table, write in detail the steps necessary to make a sandwich with the ingredients provided by your teacher. Assume the person who will make the sandwich has never made a sandwich before.
- When you have finished writing the algorithm, you will read to your teacher the steps to make the sandwich. Your teacher will follow the steps exactly and then share the sandwich with you and your partner, so don’t forget to include steps to cut and share the sandwich.
- Place a check in the box aftereach direction as your partnerperforms each step. This will help you follow the process as your teacher makes the sandwich.
- If your partner does what your direction says but it is not what you meant, you may correct your partner. However, you must write out the corrected step in the second chart.Read the corrected step to your partner before continuing.
Step #Direction Completed
Step #Corrected Direction
Conclusion
- Did your partner make the sandwich exactly like you expected? What was different (if anything)?
- What could you have done differently with your first set of instructions so that your sandwich was made better by your partner?
- What could your teacher have done differently so that your sandwich was made better?
- Which is an easier task for you, writing directions or following them? Why?
- What guidance would you suggest for writing better instructions?
- Why do you think good communication skills are necessary for engineers?
© 2011 Project Lead The Way, Inc.
PLTW Gateway – Automation and RoboticsVEX Activity 2.1.1a Sandwich Algorithm – Page 1