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.

Share 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. with FacebookShare 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. with Twitter
  • 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 design a game of Breakout in Java to practice using conditionals and nested for loops.
Use Python as an introductory language rather than Java or C to allow students to focus on problem-solving more than syntax.
Have students play the Gidget debugging game for practice debugging in an engaging environment.

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

Privacy Policy