Have a fellow student act as the mechanical arm and carry


Assume you have created a mechanical arm that can hold a pen. Th e arm can perform the following tasks:

• Lower the pen to a piece of paper.

• Raise the pen from the paper.

• Move the pen one inch along a straight line. (If the pen is lowered, this action draws a one-inch line from left to right; if the pen is raised, this action just repositions the
pen one inch to the right.)

• Turn 90 degrees to the right.

• Draw a circle that is one inch in diameter.

Draw a structured flowchart or write structured pseudo code describing the logic that would cause the arm to draw the following:

a. a one-inch square

b. a 21-inch by one-inch rectangle

c. a string of three beads

d. a short word (for example, "cat")

Have a fellow student act as the mechanical arm and carry out your instructions. Do not tell your mechanical arm partner what he or she will be drawing (or writing) before the partner attempts to carry out your instructions.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Have a fellow student act as the mechanical arm and carry
Reference No:- TGS01474580

Expected delivery within 24 Hours