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

Be careful when using coin flips and gambling in examples to avoid offending students with moral objections to gambling.
Examples in intro textbooks can be boring; create your own examples to match your students’ interests.
Play musical chairs to explain while loops so students develop physical experience navigating through the structure of a loop to better understand while loops.
  • 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