When it comes to the world of programming and coding, one of the most difficult things for new students to grasp is that computers, computer systems or computer programs can be frustratingly literal. This programming exercise introduces students to the necessity for thoroughness while programming and will introduce the strange results of "literalism".
The ability to "read between the lines" and determine what was meant rather that what was said is a skill computers and computer programs lack.
The theme is that computers do what they are told to do...and nothing more! (Mr. Lee's Rule #4).
Bagel Program Materials
- Whole, un-sliced, uncut bagels in a closed box or bag
- One tub of reduced-fat, plain cream cheese (new or already opened)
- One cutting or slicing knife (serrated)
- One spreading or butter knife (non-serrated)
- One plate
The Bagel Program
Will the following program work?
- Take a bagel
- Slice the bagel in half
- Put cream cheese on one slice of the bagel
- Put cream cheese on the other slice of the bagel
- Press the slices back together
Create the Bagel Program