Skip to main content
CS Teaching Tips

Main navigation

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

Have students write methods that perform tasks of a standard music player in Java to give them practice manipulating data structures in a familiar context.

  • This assignment can be implemented earlier in a student’s CS career using arrays, or later on using stacks and queues.
  • For a detailed explanation of this assignment, visit Stanford’s nifty assignment page.

More about this tip

Tags

  • Data Structures
  • Meaningful and Relevant Content
  • CS 1
  • Intro Programming
  • CS 2
  • Java
External Source
Stanford Nifty Assignment by Allison Obourn and Marty Stepp.
Other Tips By
Other Tips By Marty Stepp
Marty Stepp

Similar tips

Draw arrows with memory address numbers written over them from Java objects to their corresponding memory address to help students connect memory models to the actual hardware process.
Use Problets.org to help students practice programming basics in C++, Java, C#, or Visual Basic
Explain nested for loops using a car odometer, the innermost loop controlling the ones digit must cycle fully before the outer loops steps forward, to help students better understand nested loops through a real world example.

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

Privacy Policy