Skip to main content
CS Teaching Tips

Main navigation

  • Browse All Tips
  • Tags
  • 3D
  • About
  • Rate Tips
  • Tip Sheets

Have students use Python’s Turtle graphics to draw fractals using a Lindenmayer system, instead of recursion, to give students experience with string manipulation.

  • Lindenmeyer systems allow students to draw recursive diagrams without the use of recursion in their implementation.
    • Visit the Lindenmayer systems wiki to learn more.
  • For the full assignment, visit Stanford’s nifty assignment page.

More about this tip

Tags

  • Python
  • CS 1
  • Intro Programming
  • Programming Concepts
  • Meaningful and Relevant Content
External Source
Stanford Nifty Assignment by Eric Roberts.
Other Tips By
Other Tips By Eric Roberts

Similar tips

Use metaphors and analogies to describe how concepts work in a memorable way.
Set aside class time to check in with students when they’re working on large (2-3+ weeks) group projects in order to catch them before they get derailed and create a project that doesn’t demonstrate assignment requirements.
Have students write a genetic algorithm in Java to solve instances of the Traveling Salesman Problem so that they can practice object-oriented programming and responsibility-driven design.

For more information or to report a bug, contact us at admin@csteachingtips.org. Built with Bootstrap. Powered by Drupal.

Privacy Policy