You may also like

problem icon

First Forward Into Logo 1: Square Five

A Short introduction to using Logo. This is the first in a twelve part series.

problem icon

LOGO Challenge 1 - Star Square

Can you use LOGO to create this star pattern made from squares. Only basic LOGO knowledge needed.

problem icon

LOGO Challenge 5 - Patch

Using LOGO, can you construct elegant procedures that will draw this family of 'floor coverings'?

First Forward Into Logo 10: Count up - Count Down

Stage: 3, 4 and 5 Challenge Level: Challenge Level:1

First Forward Into Logo
Previous: FF9

 

WARNING - You may need to press "Halt" to stop some of these procedures!!


You might like to begin by thinking about two procedures:

TO COUNTUP :X
 
PR :X
 
COUNTUP :X + 3
 
END
 

Try COUNTUP 2

TO COUNTDOWN :X
 
PR :X
 
COUNTDOWN :X - 2
 
END
 

Try COUNTDOWN 189

As before, discuss with others and try evaluating the procedures BEFORE copying them out and experimenting further.

Now, here are two more procedures you might like to think about:

TO FAC :X :A
 
PR :A 
 
FAC :X + 1 :X * :A
 
END
 

Try FAC 11

TO MULTI :X :A
 
PR :A
 
MULTI :X :X + :A
 
END
 

Try MULTI 2 0; MULTI 2 1 ...etc

Can all the sequences of number that you know, be programmed in LOGO?

Why not submit other procedures that you have used to generate other special number sequences?

While geometrically

...the challenge is to program ELEGANTLY the drawing of the smaller pentagrams onto the 'arms' of the larger one, as shown below.

 

Next: FF11