GRADE 3
Introduction to LOGO programming
What is LOGO programming?
LOGO is an easy and simple programming language.
With LOGO you can draw simple shapes and designs, do arithmetic calculations
such as addition, subtraction, etc.
What is a turtle?
A turtle is a sprite in LOGO programming that can move around following the
command code and draws wherever it moves.
Basic Movement Commands
1. FORWARD (or FD) - moves the turtle forward.
Example: FD 10
2. BACK (or BK) - moves the turtle backward.
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
draws lines while moving.
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”
Write commands to create a square in LOGO
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
3. Which command is used to clear the graphics window?
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
5. Which among the following are LOGO commands?
a) RT b) FD c) PD d) All of the above
B. Fill in the blanks
Command Turtle FD 100 PC
1. LOGO is a type of programming language that is used to move a turtle
on the screen.
2. All the LOGO commands are entered in the command box.
3. PC command is used to change the color of the line drawn by the turtle.
4. FD 100 command moves the turtle 100 steps forward.