Assignment 3: To Java with Class
This is assignment is to be completed and submitted with your partner. You may not work with anyone other than your assigned partner.
Due: Tuesday, February 20, 11:59:59 PM EST.
Install Java and IntelliJ
You will need Java and the IntelliJ development environment to complete this assignment. If you do not have both installed, follow the instructions included in Lab 4: Same Story, More Syntax.
Download the assignment project
For this assignment, download the following zip file: Assign3.zip. Save the file somewhere on your computer and unzip it. This will create a directory called Assign3 with an IntelliJ project inside. It contains all the libraries you will need and some code to get you started.
Open IntelliJ and select "Open". Navigate to the Assign3 directory and select it.
This should open up the project and place you inside the Assign3.java file. The first thing you should do is edit the authors line (which should be selected when you open the project) to be your and your partner’s directory ID.
The project has a "Test" configuration in the top right corner. Press the "Run" (green triangle) button to run the test suite. You should see 4 tests pass, confirming everything is set up properly.
1 Data Definitions and Methods in Java
Revisit your solution to Assignment 1: ISL with a touch of Class. Since you and your partner solved the problem independently, you may make use of either of your solutions. You may also use the following reference solution: assign1-soln.rkt.
Your task is to redesign a solution to assignment 1 in Java. A solution for the first problem is already included in the code given to you. For the remaining problems 2-6, translate the class code into Java, making sure to include data definitions, tests, and purpose statements.
Submission
Use submit.cs.umd.edu to submit your solution to the problems. You should create a zip file called Assign3.zip that contains the IntelliJ project containing your solutions.