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

Use patternCoder to help students move from conceptual model classes to code by selecting class relationships that reflect the system they want to create in Java.
Use the Code.org unplugged lesson “Conditionals with Cards” to help students build an intuitive sense for how conditionals and nested conditionals work.
Have students create a game of Tetris in Java to work on object-oriented programming and decomposing complex programs.
  • 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