Do robots have brains? How do they make decisions?
The purpose of this lesson is to learn what subroutines are and how to use them in programming to make the programs you write for your robot more efficient.
Objectives/Outcomes:
By the time you complete this activity you should be able to:
1. Define subroutines in programming
2. Demonstrate understanding of subroutines by creating a program using subroutines
3. Demonstrate understanding of Morse code by knowing the code for S.O.S.
4. Program a robot to flash S.O.S. with lights
5. Know the definition of programming
6. Describe the overall steps to programming
7. Describe pseudo code and why it is used
8. Describe how “If conditions” are used in decision making in programs
Instructions:
View the following items and open the Worksheet document. The worksheet contains a checklist for you to check off items as you complete them, and also has questions to answer. Give the filled-out worksheet to your instructor at the completion of this activity.
Resource |
Name and Link to Resource |
Est. Time |
Concepts Video |
|
|
Activity
Introduction Video |
|
|
Additional Resources |
|
|
Additional Resources |
|
|
Observations
Worksheet |
|
|
Activity Step by
Step Instructions |
|