Skip to main content
Write a review

From Psychology to Logic: Learning Computer Programming in the Kitchen


Share On Facebook
Share On Twitter
Share On Pinterest
Share On LinkedIn
Grade Level Grades 9-12
Resource Type Handout, Lesson Plan

About This Lesson

This lesson focuses on the biggest problem faced by any young programmer - i.e. the LOGIC BUILDING required while solving a particular problem. With programming, the solution to a particular problem lies in the head, but one is unable to convert it into a computer program. This is because the thought processes of a human are much faster than the sense of observation. If this thought process could be slowed down, logic to solve a programming problem could be found very easily. This lesson focuses on converting this psychological thought process in a step-by -step logic fashion that a computer program can understand. This lesson is recorded in a kitchen where the basic programming concepts are taught by giving examples from the process of making a mango milk shake. This lesson teaches the 4 following techniques: 1) Swapping two variables by swapping a glass of milk with a glass of crushed ice; 2) Finding max from an array by finding the biggest mango; 3) Sorting an array by arranging the jars; and 4) Understanding the concept of a function, parameters and return type by comparing it with the blender/juicer. The lesson targets those students who know the syntax of programming in any language (C or GWBASIC preferred), but are unable to build the logic for a program. It can be taught in a class of 45 to 50 minutes.

For more information, visit:…




Lesson Plan
February 13, 2020
76.68 KB


Lesson Plan
February 10, 2020
65.5 KB


Handout, Worksheet
February 13, 2020
182.68 KB


Handout, Worksheet
February 13, 2020
14.01 KB


Handout, Worksheet
February 13, 2020
418.31 KB
From Psychology to Logic: Learning Computer Programming in the Kitchen
Remote video URL


Write A Review

Be the first to submit a review!