Logo Programming - Notes
Logo Programming - Notes
With LOGO you can draw simple shapes and designs, do arithmetic calculations
What is a turtle?
A turtle is a sprite in LOGO programming that can move around following the
Example: FD 10
Example: BK 10
3. LEFT (or LT) - This command rotates the turtle x degrees left.
Example: LT 90
4. RIGHT (or RT) - This command rotates the turtle x degrees right.
Example: RT 90
Pen Commands
PENUP (or PU) - This command lifts the penup. Now the turtle will not draw lines
while moving.
Example: PU FD 100
GRADE 3
PENDOWN (or PD) - This command puts the pen down. Now, the turtle
Example: PD FD 100
PENSIZE (or PS) - To change the width of the line drawn by the turtle.
Example: PS 8
PENCOLOR (or PC) - To change the color of the line drawn by the turtle.
Example: PC “red”
FD 10
RT 90
FD 10
RT 90
FD 10
RT 90
FD 10
Exercises
A. Choose the correct answer
1. Which is the command used to make the turtle move forward?
a) BK b) FD c) RT d) PU
GRADE 3
2. Which is the command used to make the turtle leave a trail when it moves?
a) PU b) PD c) PS d) PL
a) CS b) CT c) CD d) CP
4. Which command changes the width of the line drawn by the turtle?
a) PU b) PD c) PS d) PC
on the screen.
3. PC command is used to change the color of the line drawn by the turtle.