Draw a circle that is one inch in diameter.
Draw a structured flowchart and write structured pseudocode describing the logic that
would cause the arm to draw the following:
a one-inch square
a two-inch by one-inch rectangle
a string of three beads
Write a short word (for example, “cat”). Do not reveal the word to your
mechanical arm partner before the partner attempts to carry out your instructions.
Assume you have created a mechanical robot that can perform the following tasks:
Turn left 90 degrees.
Turn right 90 degrees.
Take a step.
Additionally, the robot can determine the answer to one test condition:
Am I touching something?
Place two chairs 20 feet apart, directly facing each other. Draw a structured flowchart
and write pseudocode describing the logic that would allow the robot to start from a
sitting position in one chair, cross the room, and end up sitting in the other chair.
Draw a structured flowchart and write structured pseudocode describing your
preparation to go to work or school in the morning. Include at least two decisions and
In this chapter, you learned what spaghetti code is. What is “ravioli code”?
Who was Edsger Dijkstra? What programming statement did he want to eliminate?
Who was Grace Hopper? What term did she claim to coin?