6th Class Computers Logo Basics Programming with Logo

Programming with Logo

Category : 6th Class

*    LOGO Command List  

 

 

*     The following table lists the shortcut that is used to perform various   (See Figure. 6.2.1)  

SHORTCUT INSTRUCTIONS DESCRIPTION
CS CLEARSCREEN Allows clearing the picture before a new picture is drawn  
ST SHOWTURTLE Allows showing the Turtle on the screen.
HT HIDETURTLE Hides the Turtle on the screen  
PD FORWARD Number Allows moving the Turtle forwards according to the number indicated.  
BK BACK number Allows moving the Turtle back according to the number indicated  
RT RIGHT angle Allows changing the direction of the Turtle by turning to the right  
LT LEFT angle Allows changing the direction of the Turtle by turning to the left  
CT   Clear Text   Cle Text
Repeat Repeat Repeat the inserted commonds
Pu Penup   Penup is used to lift the turtle's pen so it does not draw when morning.  
Pd   Pendown Penup is used to lift the turtle's pen so it does not draw when morning.  
Pe Penerase  

Pendown is used to put the erase pen back down so it will draw when morning. Example setpen size[n n]  

Perspective   Switch   Pen erase is used to change the pen to eraser Switch the turtle to 3D mode  
Setpc [RGB]   Set the pen  

Set the pen colour to the appropriate RGB values where rig and base numbers that rase from 0 to 255 force ramp be: Set pc [25500] gives red.  

Set Pen size   Set pen size(n n)  

This commond is used to set the width of the pen to n pixels. Where as n is the numbers. For example: Set pen size [55]      

Pen normal   Sets the pen   Sets the pen base to the normal mode and colours erase mode.  

Set flood -

Colour  [RGB]  

Sets the flood colour

Sets the flood colour to the appropriate RGB (Red, Green, Black) values where r, g and b are numbers that rases from 0 to 255. For example: Set flood colour [2550255]  

Files   Flood the area

Flood the area bonded by lives with what even colour was specifically in the set flood colour command.  

A Car   Draw on arc

Draw an arc with an included degrees and radius of r and turtle remains at the centre. For example: ARC 45 100.  

Draw on arc

Draw an arc with an included angle of a degrees and radius of r and turtle remains at the end of the arc.  

 

 

 

Question.jpg    

 

  Using LOGO you can draw circle, rectangle, and line on the screen. The _______ shaped cursor on the blank screen is called TURTLE.

(A) Triangular                                                    

(B) Rectangle

(C) Square                                          

(D) Circle

(E) None of these  

 

Answer: (a)

Explanation 

Correct Option:

(A) The shape of TURTLE is always triangular.

Incorrect Options:

Rest of the options is incorrect.    

 

 

 Jack wants to erase a picture before a new picture is drawn. Which one of the following commands he used to perform that task?

(A) LT                                                                   

(B) CL

(C) CS                                                                   

(D) RT

(E) None of these  

 

Answer: (c)

Explanation

Correct Option:

(C) CS allows clearing the picture before a new picture is drawn.

Incorrect Options:

(A) LT allows changing the direction of the Turtle.

(B) CL command is not available in LOGO.

(D) RT allows moving the turtle to right angle.    

 

 

 The triangular shaped cursor on the screen is called turtle. Which one of the following commands is used to hide the turtle on the screen?

(A) LT                                                                   

(B) HT

(C) CS                                                                   

(D) RT

(E) None of these  

 

Answer: (b)

Explanation

Correct Option:

(B) HT allows hiding turtle on the screen.

Incorrect Options:

(A) LT allows changing the direction of the Turtle.

(C) CS allows clearing the picture before a new picture is drawn.

(D) RT allows moving the turtle to right angle.

You need to login to perform this action.
You will be redirected in 3 sec spinner

Free
Videos