0% found this document useful (0 votes)
107 views2 pages

MSW Logo

The document discusses the LOGO programming language. LOGO uses simple English words as commands called primitives to give instructions to draw figures on screen using a triangular turtle. It describes common LOGO primitives like FD, BK, RT, LT for moving and turning the turtle as well as commands like HOME, HT, ST, CT for positioning, hiding, and clearing the turtle and screen.

Uploaded by

happy kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
107 views2 pages

MSW Logo

The document discusses the LOGO programming language. LOGO uses simple English words as commands called primitives to give instructions to draw figures on screen using a triangular turtle. It describes common LOGO primitives like FD, BK, RT, LT for moving and turning the turtle as well as commands like HOME, HT, ST, CT for positioning, hiding, and clearing the turtle and screen.

Uploaded by

happy kumar
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 2

LOGO is one of computer languages used to give instructions to computer to perfrom various task.

These
include drawing figures and perfroming calculations. LOGO is simple computer language in which
instructions are given using English words. Instruction given in LOGO are called PRIMITIVES. The
instructions or PRIMITIVES given to computer to draw figures are shown on screen by triangular figure
calleed TURTLE

STARTING MSW-LOGO
1. Click on start button
2. Select Program option
3. Click on MSW-LOGO

The MSW-LOGO screen is divided into two parts

MAIN SCREEN
Area where Turtle draws figure

COMMANDER WINDOW
To give LOGO commands. It is divided into two parts
(A). INPUT BOX= The LOGO command is typed in this area. To execute typed command, press Enter key
or click on Execute button
(B). RECALL LIST BOX= It gives list of commands you have executed. You can select command to repeat
and by pressng Enter key or Execute button, the selected command can be executed
Now, let us study PRIMITIVES used in LOGO language

FD (FORWARD)
This command is used to move turtle forward by given number of steps

BK (BACKWARD)
This command is used to move turtle backward by given number of steps

RT (RIGHT)
This command used to turn head of turtle in clockwise direction. The turtle turns its head by given
number of degrees

LT (LEFT)
This command is used to turn head of turn in anti-clockwise direction

HOME
This command is used to make turtle appear on centre of screen, that is starting positing

HT (HIDE TURTLE)
This command will make turtle disappear from screen till we make it reappear on screen

ST (SHOW TURTLE)
This command will make turtle appear on screen. This command is used only after hiding turtle with HT
command

CT (CLEAR TEXT)
This command will erase lines drawn in drawing area by turtle1

Friends! Now, we can draw figures without any break. But sometimes, we need to draw figures with
break in between
To draw lines with break in between, we need to use PEN commands
When we draw lines countinuously, PEN commands are not used

PU (PEN UP)
This command lifts turtle up. Then it moves without drawing any line

PD (PEN DOWN)
This command will put pen down so that turtle can start drawing lines again according to next given
command

PE (PEN ERASE)
This command erases lines, which are already drawn on screen. After getting this command, the turtle
works as eraser. The FD or BK commands follow this commannd with number of steps to erased

PPT (PEN PAINT)


After you erase with PE command and want turtle to draw lines again, you have to bring pen back by
giving PPT command

You might also like