NotesFAQContact Us
Collection
Advanced
Search Tips
Back to results
Peer reviewed Peer reviewed
Direct linkDirect link
ERIC Number: EJ1177692
Record Type: Journal
Publication Date: 2018
Pages: 3
Abstractor: ERIC
ISBN: N/A
ISSN: ISSN-2158-0502
EISSN: N/A
Available Date: N/A
Learning Programming through Baking
Moon, Cameron
Technology and Engineering Teacher, v77 n8 p28-30 May-Jun 2018
Baking a cake and programming have many attributes in common. Both baking and programming rely on a specific process to produce an expected outcome. A cake needs the right amount of each ingredient mixed in at the right time, the oven to be set at a specific temperature, and the cake to be baked for a specific length of time. Programs need to be written out using the appropriate variables, functions, and syntax, just as the steps and ingredients in cake-making are vital. The program elements need to be compiled to ensure there are no bugs that would cause the program to fail, just as the cake recipe and instructions provide a template for success in baking. The ingredients represent the different variables in the code. The measuring cups, spoons, bowls and pans used in manipulating the ingredients are the Boolean operators. The oven represents compiling and running the program. Once the program is compiled and run, the user cannot make changes without compiling and running it again. Tasting the cake is ensuring that the program functions as expected.
International Technology and Engineering Educators Association. 1914 Association Drive Suite 201, Reston, VA 20191-1539. Tel: 703-860-2100; Fax: 703-860-0353; e-mail: iteea@iteea.org; Web site: https://www.iteea.org/
Publication Type: Journal Articles; Reports - Descriptive
Education Level: N/A
Audience: N/A
Language: English
Sponsor: N/A
Authoring Institution: N/A
Grant or Contract Numbers: N/A
Author Affiliations: N/A