Unit 66 Laboratory Activity: Thinking Like a Computer
Goal: To gain an understanding of the process analysis required to program a machine to do something.
Materials
Procedure
- Write instructions to set the table for dinner as "code" for a computer.
- Identify what "inputs" you need: number of people, number and type of courses, etc.
- Identify conditions that may make you use different processes (e.g., if there is soup, set bowls and soup spoons, otherwise skip those steps).
- If there is a repeated task, try to write a "loop" so that you perform the same process as many times as necessary. Be sure to specify conditions for ending the loop!
- Have another person read and follow your instructions. Did your program give you the results you expected?
- Have another person read and follow your instructions (preferably without watching the first person do so). Were your results the same?
Report
- Include your program.
- Describe the results of your two "trial runs". Did your "computers" perform as expected? Where did the computers do something that wasn't in your program? Where did they do something differently from each other?
© 2005 - 2025 This course is offered through Scholars Online, a non-profit organization supporting classical Christian education through online courses. Permission to copy course content (lessons and labs) for personal study is granted to students currently or formerly enrolled in the course through Scholars Online. Reproduction for any other purpose, without the express written consent of the author, is prohibited.