Preston Decker's First CS151 Homework

Protocol
  • Begin in middle of page
  • From left to right, Draw a horizontal line 2 inches long
  • Rotate pen angle 90 degrees towards top edge of page
  • From bottom to top, Draw a vertical line 2 inches long
  • Rotate pen angle 90 degrees towards left edge of page
  • From right to left, Draw a horizontal line 2 inches long
  • Rotate pen angle 90 degrees towards bottom edge f page
  • From top to bottom, Draw a vertical line 2 inches long.
  • I worked with two other people in confirming the validity of my protocol.
  • 1.The strength of my protocol was that it was specific. Both of my partners correctly drew the shape on the first try. The only potential error was that a human without a ruler cannot accurately measure in inches. Therefore, although the written shape was correct, and the person clearly knew itwas supposed to be a square, the actual drawn shape was not a 2*2square.However, I do not think thisis really an error, as the person could have obtained a ruler to draw the shapeif they wished.
  • I gave lengths for lines, used specific angles for turns, and described movements in terms that could be used by a person regardless of whether they were using a computer or piece of paper. For example I said 'From left to right, Draw a horizontal line etc.' as opposed to saying 'Draw a horizontal line towards the east.' A strength or weakness depending on how you think of it would probably be that my square is a fairly easy shape to describe.The protocol for a different, more complex shape may not have been able to be as specific. In addition, I was aided by the fact that I listened to a couple of friends do the assignment first, and was thus aware of the importance of being specific and of other potential problems with the process.

    2. I did parameterize, I said to 'rotate pen angle 90 degrees' and then added a direction in which to rotate it. This was especially important in correctly describing the square. In addition, I am not sure if a parameter can have a different beginning statement but equal ending statements, if so then statements such as 'From right to left, draw a horizontal line 2 inches long' and 'From left to'right, draw a horizontal line 2 inches long' were also parameters.

    3.I felt mine was better in terms of overall specificness than the first person with whom I worked, as thedirections given were not as specific, and left room for misinterpretationFor example, at one point I thought I was supposed to draw a line not connectedto a previous line, however this was not the drawing the person intended me todo. On the other hand, he was trying to The second person I worked with had a protocol almost as good as mine, asline lengths were given, the only problem was that they gave turn directions interms of points on a compass, such as "turn southwest", which leaves room forerrorand confusion.

    4. As for the protocol vs. list of commands, due to the fact that I had listened to a couple friends do the assignment first, as well as the fact that my shape described was relatively simple, there were no problems with my first list of commands, so it also served as my protocol.