a. what is logo? b. the basic commands c. why commands are important? d. what is a turtle? e. what...
TRANSCRIPT
![Page 1: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/1.jpg)
LogoFor
beginnersA. What is logo?
B. The basic commands
C. Why commands are important?
D. What is a turtle?
E. What is repeat?
F. What is commander?
G. How to change the colour of the pen?
H. How to draw a square?
I. How to draw a circle?
J. What are variables?
K. EXTRAS By Dali Matthews
9S
![Page 2: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/2.jpg)
2
THE TURTLE IS WHAT WE COMMAND
THIS IS WHERE THE LIST OF COMMANDS WRITTEN WILL BE DISPLAYED
WILL EREASE ALL THE CODES AND COMMANDS
WHERE WE WRITE THE COMMANDS FOR TURTLE
A SIMPLE DISPLAY OF LOGO
![Page 3: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/3.jpg)
What is logo?• Logo is a programming language develop at the MIT
(Massachusetts Institute of Technology).
• Logo easy to learn and really powerful.
Logo simple to use.
• Logo uses commands to make whatever you can imagine.
A
![Page 4: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/4.jpg)
The basic commandsPD is pendown so it start drawingPU is penup so it will stop drawingForward is FD with any number, example FD 100Backward is BK with any number, example BK 90To rotate right you put RT and how many degrees,
example 0-360 To rotate left you put LT and how many degrees,
example 0-360, LT 45
B
![Page 5: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/5.jpg)
Why commands are important?Commands are very important because we need to
command an object to do a certain thing.
Robots work with commands if they wouldn't have commands they wouldn't work.
CCTV cameras work with commands, if CCTV cameras have an error we could have no security. If commands are put carefully then the CCTV cameras would work.
C
![Page 6: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/6.jpg)
What is turtle?The turtle is the triangular shape
The turtle is found in the middle of the logo screen
It show which direction your pointing
D
![Page 7: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/7.jpg)
What is repeat?For example: repeat [ fd 50 lt 45 ] to make an
octagon
Repeat is a set of commands that are repeated which are in the brackets.
E
![Page 8: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/8.jpg)
What is commander?Commander is the box on the bottom.
You need commander or else you cant type commands in.
Commander is where you write your commands.
You always have to start with pd (pendown)
To finish you write pu (penup)
F
![Page 9: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/9.jpg)
How to change the colour of the pen?There is only red, green, and blue color.
Go to the commander
Write: SetPC [255 0 0] (for red) you have to put one of the number from 0 to 255 .
G
![Page 10: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/10.jpg)
How to draw a square?First go to the commander.
Type repeat 4 [fd 10 rt 90]
You can increase or decrease the size by changing the number of fd. s
But the rt stay’s the same, it must always be 90.
Example of a square on the right-
H
![Page 11: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/11.jpg)
How to draw a circle?First go to the commanderThen put in the commandsrepeat 360 [fd 1 rt 1]Example on the right->
I
![Page 12: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/12.jpg)
What are variables?
In the dictionary variables means: An element, feature, or factor that is liable to vary or change.
For example, the codes that you put in a cell are variable (which can change)
J
![Page 13: A. What is logo? B. The basic commands C. Why commands are important? D. What is a turtle? E. What is repeat? F. What is commander? G. How to change the](https://reader030.vdocument.in/reader030/viewer/2022032414/56649ee45503460f94bf2f28/html5/thumbnails/13.jpg)
EXTRASTo make a house you need to have these
codes: To square :length Repeat 4[fd :length rt 90] End
To triangle :length Lt 90 Repeat 3[rt 120 fd :length] End Then put this in:
K