I need you to develop some software for me. I would like this software to be developed using Javascript. You are required to develop a Java API that can parse and encode the contents of a text file or
URL (small or very large…). The API should uphold the principles of loose-coupling and high
cohesion throughout its design by correctly applying abstraction, encapsulation, composition,
inheritance and polymorphism. The output of the programme should be a text file containing
each of the words encoded as a unique five-digit number, displayed ten codes per line like the
original Zimmerman telegram.
Fig 1.
As illustrated in Fig. 1, the API should:
• Build an encoding and a decoding lookup table for a set of commonly used English
words. Use instances of the Map interface to relate words to numbers and numbers to
words. A text file containing 900 commonly used English words, ranked in
descending order by usage frequency, is available on Moodle1
.
• The application should generate a total of 75,000 random unique integers to associate
with the 900 words, enabling multiple numbers to be assigned to each word. Wordswith a higher usage frequency should be given more numbers than those that are used
rarely. You should try to avoid using the same number twice in a message (this will
not be possible for a large text file) as repetition is the mortal enemy of a
cryptographer.
• The application should parse a given input file or URL line-by-line, extract each word
in the line of text, encode it as an integer and append it to an output file.
Please note the following additional requirements:
• You must comment each method in your application stating its running time (in Big-
O notation) and your rationale for its estimation.
• Document your code using the JavaDoc standard. JavaDocs are an industry standard
for inline documentation of Java classes. A quick JavaDoc tutorial, from the
University of Birmingham, is available on Moodle. Eclipse provides full support for
the JavaDoc standard, including intelli-sense drop down suggestions.
• Provide a UML diagram of your design (a photograph of a neatly-drawn sketch will
suffice). Please pay particular attention to how your application must be packaged
and submitted.
Hello, and thanks for the opportunity to bid on your project.
https://www.freelancer.com/u/TenStar718.html
I am an expert in many different area’s of web and mobile applications based on the following languages: Web(PHP, MySql, HTML5, Java) and Mobile (Native and Hybrid). I am also an expert in many different frameworks such as CodeIgniter, Laravel, Spring and jQuery.
I have over 5 years industry experience in development and graduated with a Masters Degree in IT from the Hong Kong University. My PHP L1 exam score in Freelancer places me in the top 3% of developers. Please have confidence in my skill and quality of work.
I assure, I will do my best to work with you on your project to present the best possible outcome for you and your customers. I will also do my best to correct any area of work where quality comes into question, I want to have pride in my service to your company and the final product provided.
While I am happy to make adjustments and alterations as your project progresses please understand that I am a dedicated freelancer and any work that is substantially different from the project description may need the awarded fee to be re-negotiated.
Feel free to contact me if you have any questions, and please review my 5 star profile.
I look forward to working together in partnership on your project and into the future.
Regards