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.

Share 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. with FacebookShare 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. with Twitter
  • 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

Trace through example code in class to show and encourage students to debug effectively
Always use the keyword ‘this’ in Java, and trace through many examples, to help students understand it.
Teach "if" statements before "switch" statements, then explain how "switch" is a specialized case of "if" by translating an "if" statement into a "switch" statement.
  • 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