How to Make Sun Butter & Jelly Sandwiches Using Pseudocode
High School students in Juliet Garbasz's '14 Computer Science Class recently paired up to make sun butter and jelly sandwiches in the Teaching Kitchen by writing pseudocode (informal instructions that describe the key elements of a program for yourself and other programmers).
Before arriving at the kitchen, students wrote their own pseudocode programs on how to make a sandwich. Students explored how to create readable and precise code using various coding techniques. The objective demonstrated how "computers" (mis)interpret sandwich instructions.
One student played the role of programmer, relaying instructions using a combination of code and text to explain the sandwich-making steps clearly. Their partner represented a computer and followed the programmer's directions verbatim without the ability to make assumptions.
The specificity of the directions led to a variable sandwich assembly process filled with hilarious actions and unexpected results!