COMP 14-090 Summer I 2000
Assignment 2: PB & J
Assigned: Wednesday, May 24
Due: Friday, May 26
Worth: 30 points
Description
Write an algorithm to instruct a robot to make a peanut butter and jelly
sandwich.
Keep in mind the following:
- A robot can only perform simple tasks (you can't tell it "make a sandwich").
- You need to tell it precisely what to do (assume it doesn't know what a
sandwich is, but does know what bread, a jelly jar, a peanut butter jar, and a
knife look like).
- Assume that the ingredients are on the counter (a knife, 2 slices of bread, a jar of peanut butter, and a jar of jelly).
Michele Clark
clark@cs.unc.edu