University : La Trobe University UniLearnO is not sponsored or endorsed by this college or university.
Subject Code : CSE2ALG
Assignment Task:

Task:

Task 1 Design and implement the program LexiconTester.java. This program will

1. Read two text files, in1.txt and in2.txt (i.e., filenames are hard- coded), and construct a lexicon that contains words from the two files.
2. Write the words from the lexicon to the text file out.txt. Specifically, these words must be in sorted in alphabetical order.

The information on each word, which is also written to the text file, includes the frequency and the list of its neighbors. The list of neighbors must also be in alphabetical order. To output each word, first the spelling of the word is displayed, followed by the frequency, and then followed by the word’s neighbors (in alphabetical order, inside a pair of square brackets). The format must be as shown in the example below, which is for some words from in1.txt and in2.txt given as test files.

 

Task 2 Write a report LexiconReport.pdf in the PDF format. This report will
1. Describe which two sorting algorithms are selected, and the reason for your choice.
2. Describe the difference of the two algorithms regarding time complexity (i.e., the Big-Oh) in the best, worst and average cases.
3. Describe the difference of the two algorithms regarding time usage (i.e., how many seconds) for generating the lexicon in Task 1.

 

This CSE2ALG  IT Assignment has been solved by our IT Experts at UniLearnO. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing style.

Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered. You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

Eureka! You've stumped our genius minds (for now)! This exciting new question has our experts buzzing with curiosity. We can't wait to craft a fresh solution just for you!

  • Uploaded By : Pearl
  • Posted on : March 20th, 2019

Whatsapp Tap to ChatGet instant assistance