Monday, October 3

Logo the turtle!

Today we are going to concentrate on manipulating and moving your turtle in Logo.  Remember back to last week and what I said about the skills that all computer programmers must have - the ability to think abstractly and the ability to think sequentially.  In addition to those skills computer programmers must also possess many other skills - thinking logically and being good at math are two that quickly come to mind. We are going to put all of these skills to work while using Logo.

Today, concerning Logo, we will discuss how to turn.  In Logo, turning occurs by using the number of degrees you want your turtle to turn (360 degrees is a complete circle - remember this, it's extremely important!).  Therefore, making one complete turn would take 360 degrees of turning; making 1/2 a turn would take 180 degrees of turning; making a quarter of a turn would take 90 degrees of turning, and so on.

What you do (in terms of turning) to the left, you can also do to the right.  If, for example, I want to make a square I would first move forward 100 turtle steps, and then I will need to turn 90 degrees to the left.  But...I could turn to the right 270 degrees and get to the same point (see how the 90 degree left turn and the 270 degree right turn add up to equal 360?  Again, this is important so remember this!).  Today's assignment (due tomorrow at the beginning of the hour) will challenge you to be able to use the opposite turn to get to the same point.

We will also learn Caps Lock key and the Question mark key.

No comments:

Post a Comment