Homework 2: Contact List

Due September 24 @ 8:00pm on Autolab

In this assignment you’ll build a simple contact list, using data in names.txt as an initial dataset. We’re not writing the next Microsoft Outlook here, but we’ll get a basic contact list up and running.

Download a pre-prepared Eclipse Project hw2.zip and import it into Eclipse using these instructions. You will make all of your changes inside of Contacts.java and Contact.java.

Your Tasks

You will need to write the following items:

File Format

The input (and output) files that your program should be able to work with have a comma separated value (CSV) format. Each line the file contains the information for one contact, with each field of that contact separated by a comma. The fields are:

First Name, Last Name, andrew ID, Phone #, Group 1, Group 2

Most of these fields are self explanatory. Group 1 and Group 2 represent contact groups which this contact belongs to.

The provided Eclipse project includes a sample file (names.txt) that you can use for testing. (Looking at it will also help you make sure you understand the file format.)

Grading and Submission

There are two parts of the grading of this assignment:

  1. For the first 70 points, your submission will be auto-graded on Autolab.
  2. For the next 30 points, your submission will be manually graded to check for things like style, implementation methodology, and the testcases you include in the main method.

You will submit your program to Autolab. Login to the system and you will see the homework.

For this homework, because there are two files, you’ll need to submit a zip file containing your code. Luck for you, however, Eclipse can create this zip file for you. Check out these instructions. On Autolab, you’ll submit that exported zip file. On the page that follows your submission you will see your live score (out of 70). It may take up to a few minutes for your score to appear, during that time just hit refresh in your browser. If you receive a lower score than you expect, you can click on the score to see the feedback from the autograder.

Important Notes