MP3: TopSecret

The Assignment

As always, start this MP by reading R-E-A-D-M-E-F-I-R-S-T.txt, in the MP you checked-out from subversion.

This graded assignment consists of four short programs:

As Julius Caesar's lead programmer for the Roman Empire (RE), you need to write a program from scratch to help Julius encrypt and decrypt his military orders. This task is described in CaesarCipher.txt.

What You Will Learn

  1. Programming Skills:
    • Reverse engineering (reading Java unit test code and figuring out the specification & implementation)
  2. Java Skills:
    • Perform simple calculations using arithmetic operators.
    • Use string instance methods length, charAt, concatenation.
    • Use integer arithmetic (characters as integers, modulus).

What You Should Already Know