# Draw a circle that is one inch in diameter draw a

• Homework Help
• 5

This preview shows page 5 out of 5 pages.

##### We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
The document you are viewing contains questions related to this textbook.
Chapter 7 / Exercise 16
Programming Logic and Design, Introductory
Farrell
Expert Verified
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. a one-inch square b. a two-inch by one-inch rectangle c. a string of three beads d. 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. 4. Assume you have created a mechanical robot that can perform the following tasks: Stand up. Sit down. 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. 5. 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 two loops. 6. In this chapter, you learned what spaghetti code is. What is “ravioli code”? 7. Who was Edsger Dijkstra? What programming statement did he want to eliminate? 8. Who was Grace Hopper? What term did she claim to coin?
##### We have textbook solutions for you!
The document you are viewing contains questions related to this textbook.
The document you are viewing contains questions related to this textbook.
Chapter 7 / Exercise 16
Programming Logic and Design, Introductory
Farrell
Expert Verified