Skip to main content
CS Teaching Tips

Main navigation

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

Have students implement a rotating substitution cipher in Java that encrypts and decrypts strings in an assignment that gives them practice manipulating strings in a real-world context.

  • The first cipher they implement in this assignment is also known as a Caesar cipher.
  • To learn more, check out the assignment on Stanford’s nifty assignment page.

More about this tip

Tags

  • Java
  • Meaningful and Relevant Content
  • Interdisciplinary Connections to CS
  • Data Structures
External Source
Stanford's Nifty Assignment by Dave Reed
Other Tips By
Other Tips By Dave Reed

Similar tips

Have students implement a seam carving program in Java to give them experience with dynamic programming, and with manipulating 2D and 3D arrays.
Use familiar language and explicitly define new terms whenever possible to make sure all students, especially those with non-English first languages, understand the concepts you are describing.
Emphasize the importance of planning and analyzing code to students with previous CS experience.

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

Privacy Policy