In Progress

Please dont rush through this

need you to get started on another project. This time, when you do the driver. I dont want the numbers anything to run automatically when the program is executed. The program needs to be user controlled.

PROGRAMMING Due November 22

(This problem is taken from Computing Concepts With Java Essentials by Cay Horstmann)

The following is a simple method for encrypting a text file. Given a key word, first remove any duplicate letters from that word. Now append to this the remaining letters in the alphabet in reverse alphabetical order. Example:

Suppose the key word is “CANNON”. Create the following string of 26 letters:


Now map the letters of the alphabet to this newly ordered alphabet. So “A” is mapped to “C”, “B” is mapped to “A”, “C” is mapped to “N”, “D” is mapped to “O”, “E” is mapped to “Z” and so on.

Write a program that uses command line arguments to accept a key word and then encrypts or decrypts (decide using a command line option) a file using the given key word. For example if the driver is called [url removed, login to view] the following command line might decrypt the file [url removed, login to view] and write the decrypted file to output.txt.

java Crypt –d –kCANNON [url removed, login to view] [url removed, login to view]

What to hand in:

In addition to the source files for your program include with your submission a text file named [url removed, login to view] with an explanation of what you did. That is, write in plain English, instructions for using your software, explanations for how and why you chose to design your code the way you did. Please do this even if you choose to use Javadoc.

assignment will be graded as follows:
25% if it compiles
30% if it runs properly (expected output for given input, etc.)
15% for style (formatting of code, variable names, comments, etc.)
30% for design (efficiency, handling error conditions, etc.)

I also need twice as much more comments than the last assignment that you turned in to me. I need LOTS AND LOTS OF comments EVERYWHERE, thanks. Not just for the project to turn in, but so I can understand it as well for future reference. Thanks.

Skills: Java

See more: string problem, source formatting, reference letters, map string, letters reference, get started programming, future design concepts, computing programming, cannon design, run properly, design essentials, uml java code, rush , please, java reverse, java file handling, java crypt, hand write word, driver reverse, dont, decrypted, decrypt source, remove comments java program, alphabetical word, append line file

About the Employer:
( 5 reviews ) Berkeley, United States

Project ID: #1299308

Awarded to:


Hired by the Employer

$50 USD in 3 days
(211 Reviews)