MIC
Pat O'Sullivan
Department of Mathematics and Computer Studies
Mary Immaculate College, Limerick, Ireland

General Information

Student Resources and Information

Interests

Miscellaneous Exercises

  • Write a suite of procedures which supply Irish language equivalents and appropriate abbreviations for the main english language LOGO primitives.

  • Write a suite of procedures which supply "slowed down" versions of the LOGO procedures which move and rotate the turtle. Use these new commands to make some simple shapes such as square and triangle.

  • What is the least value :n should have so that repeat :n [fd 50 rt 100] will draw a shape with the symmetery of a regular polygon?

  • Draw a grid:

  • Draw "scaleable" letters. For example:

    Letter E              Scaleable Letter E
    to E

    fd 20 rt 90 fd 10 bk 10
    rt 90 fd 10 lt 90 fd 10 bk 10 rt 90
    fd 10 lt 90 fd 10
    pu fd 10 lt 90 pd   ;the space between letters

    end
                   to E :s

    fd 20*:s rt 90 fd 10*:s bk 10*:s
    rt 90 fd 10*:s lt 90 fd 10*:s bk 10*:s rt 90
    fd 10*:s lt 90 fd 10*:s
    pu fd 10 lt 90 pd   ;I decided not to scale the space

    end
    Put a few of them together to make a banner:

  • Use the library procedure ellipse to make an ellipse. Attach a triangle and make a fish:
    Make an "rfish" and an "lfish" and put them together to make a fishbowl:
    Or use two turtles and make an aquarium:
 
Department Home
Home
The information found on personal pages should not be considered official material from Mary Immaculate College and the College does not accept any responsibility for its accuracy or otherwise.