Computer Science, asked by vermank496, 10 months ago

write the LOGO primitives to draw a square​

Answers

Answered by mayanksingh302007
1

Answer:

This is the first in a twelve part series of articles introducing Logo programming for beginners. Even if you have never tried LOGO it is easy to learn and here is the place to get started

With only a limited set of instructions (i.e. primitives) it is usually quite straightforward to draw the most complex of shapes on the screen or to get the `turtle' to manoeuvre about the floor.

For example, using instructions such as:

forward 40 (FD 40)

or

backward 20 (BK 20),

right 85 (RT 85 )

or

left 125 (LT 125)

The difficulty always seems to be about remembering to put spaces between the commands - FD, BK, RT, or LT and the amount of distance or turning you want the screen or floor turtle to achieve:

e.g. FD 70

RT 90

FD 130

RT 90

FD 70

RT 90

FD 130

RT 90

And, there is the convention of returning the screen or floor turtle to exactly the same place that it had started from.

The NRICH site has a number of LOGO Challenges for you to think about and respond to. In many cases you will know how well you are doing by how quickly you manage to copy the drawing exactly, in others the aim is for you to investigate the code you have been given and discover what is going on.

When you work at the problems it would be helpful to keep a simple diary of what you were thinking at the time and what you learnt while trying to respond to the challenges set. What mathematics did you learn along the way? Are you getting better at learning things independently? What did you learn about yourself?

MARK AS BRAINILIEST.

Similar questions
Math, 5 months ago