Skip to main content
CS Teaching Tips

Main navigation

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

Have students create a program in Python that draws a map of the stars in order to gain practice using dictionaries to manipulate real data.

Share Have students create a program in Python that draws a map of the stars in order to gain practice using dictionaries to manipulate real data. with FacebookShare Have students create a program in Python that draws a map of the stars in order to gain practice using dictionaries to manipulate real data. with Twitter
  • Manipulating real data makes students feel like they’re the programs they’re writing are real, meaningful, and relevant.
  • For a more advanced version of this problem, have students create a program in Java.
  • To see the full assignment, visit Stanford’s nifty assignment page.

More about this tip

Tags

  • Python
  • Meaningful and Relevant Content
  • CS 1
  • Intro Programming
  • CS 2
  • Java
  • Interdisciplinary Connections to CS
External Source
Stanford's Nifty Assignment by Karen Reid
Other Tips By
Other Tips By Karen Reid

Similar tips

Misconception: If you consistently use the same variable names during class in lectures and examples, students may incorrectly assume objects in Java can only have those names.
Draw attention to types when teaching students Python to help lay the groundwork for understanding types in lower-level programming languages they’ll learn about later.
Often, intuitive examples trump overly-technical description for introductions to tricky concepts such as Big-O runtime.
  • CSTT Facebook
  • CSTT Twitter

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

Privacy Policy

  • National Science Foundation
  • Sage Fox Group
  • Harvey Mudd College