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:

CANOZYXWVUTSRQPMLKJIHGFEDB

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: what is uml design, what is java and why do i need it, what is a variable in programming, what is a string in programming, what is an assignment problem, what is a method in programming, what can you do with java programming, string problem, source formatting, reference letters, map string, letters of reference, how to get started programming, how to get started on programming, how to get started in c programming, how to design uml, get started with c# programming, get started with c programming, future design concepts, example of assignment problem, computing programming, c code for assignment problem, cannon design, assignment problem in or, assignment problem example

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

Project ID: #1299308

Awarded to:

dobreiiita

Hired by the Employer

$50 USD in 3 days
(211 Reviews)
6.8