1DV507, Programming and Data Structures, Spring 2017


Assignment 3: Algorithms, Hashing and BSTs, and GUI (Part 2)


Problems?
Do not hesitate to ask your teaching assistant at the practical meetings (or Jonas at the lectures) if you have any problems. You can also post a question in the assignment forum in Moodle.

Prepare Eclipse for course 1DV507 and Assignment 3
Inside your Java project named 1DV507, create a new package with the name YourLnuUserName_assign3 and save all program files for this assignment inside that package. Later on, when submitting your assignment, you should submit a zipped version of this folder/package.

General Assignment Rules

Lecture 7 - Algorithms (1)

Lecture 8 - Hashing and Binary Search Trees

The following five exercises are actually one large exercise named Count Words. We have divided Count Words into smaller steps, Exercises 3 - 7, for simplicity. What we want you to do is to count the number of different words in the text HistoryOfProgramming.txt by adding all "words" to a set. We will use four different set implementations: two prede fined from the Java library and two that you will implement by yourselves.

Notice: All files related to Count Words should be saved in a package named count_words.

Lecture 9 - JavaFX (Part 2)

Important: You are not allowed to use any GUI builder tools in these assignments. All your code should be written by you, not generated by a tool.




Submission

We are only interested in your .java files. Hence, zip the directory named YourLnuUserName_assign3 (inside directory named src) and submit it using the Moodle submission system.