Turtlegraphics for Smartphones and Tablets

Bern University of Teacher Education  
HomeStart Online EditorPrintAndroid GamesJava-Online

Serie 2: loops

Use while- or for-loops and draw the following figures:

1)
2)
3)
144

4)
5)
6)

 

draft for a while-loop

Edit Tu2 with online-compiler

 

draft fo a for-loop

Edit Tu3 with online-compiler

Note: The positioning of the pictures is not yet important. You can start drawing in the middle of the playground.

 


7) Two nice graphics to experiment:

Edit Goldstein1 with online-compiler

Edit Goldstein2 with online-compiler

Can you adapt your exercise 3 so that a similar graphic arises?