Line+Segments

LESSON #1 Line Segments
Initial Lesson posting - July, 2011 Revision date - Fall 2017

** Purpose ** : This lesson introduces the basic commands and vocabulary. ** Essential Question: ** How do you tell someone how to move from one place to another place? A Section of the Lesson Follows

**Excerpt** ** LESSON 1 - TASK 1: ** You will work with a partner or in a group. Have a classmate tell you a heading and then tell you how many steps to walk (either forwards or backwards). This skill is used in navigation. Orienteering is a sport that requires navigational skills to move from point to point on a map. You might try to write an orienteering map (locations, headings and steps) for how to walk from your classroom to the front door of your school.

** New Commands: ** The **home** command sends the turtle to the home position with a 0 degree heading. The **clear screen** (or **CS)** command clears the graphics screen and sends the turtle to the home position. The **clear text** (or **CT**) command clears the listener window. The **penup** (or **PU**) command picks up the turtle’s pen so he does not leave a trail. The **pendown** (or **PD**) command puts the turtle’s pen back down so he can draw. The **hideturtle** (**HT**) and **showturtle** (**ST**) commands hide and show the turtle. ** Question: ** Now, consider this. You are standing on the street and you need to go down the street. You know it is about 35 steps, but how do you know you are going in the right direction? ** Answer: ** You can see the street and you just know which direction to go. In order to communicate the direction to someone else, you need to tell him or her what **heading** to use.

The **set heading** command can be used to move the turtle in the directions associated with North, South, East and West. The unit of measurement for headings is **degrees**. North = setheading 0 (or setheading 360) South = setheading 180 East = setheading 90 West = setheading 270
 * New Commands: **

Note that Logo is not case sensitive. You can type fd or FD instead of FORWARD.
 * Abbreviations: **
 * SETH ** is the abbreviation for setheading
 * FD ** is the abbreviation for forward
 * BK ** is the abbreviation for back

Excerpt

In figure 1.3, the turtle started at a point, moved forward 200 steps and walked backwards 200 steps forming 8 segments instead of four. In order to have 8 segments drawn from the center point, the turtle turned 45 degrees after completing drawing each segment.
 * Example 2: **