Homework 4
CS520, Fall 2009


Due: Friday, November 6

Package all the source files of your project into a zip file using the zip Ant target you developed in Homework 1, and upload the zip file to CSNS. Note that file uploading will be disabled automatically after 11:59PM of the due date, so please turn in your work on time.


[Reading]

[Online Assignment for CSNS]

Complete the following features of CSNS Online Assignment you started in Homework 3:

1. (30pt) Create an online assignment.

2. (40pt) Add questions to an online assignment.

3. (30pt) Display an online assignment.

4. (20pt) Display the list of the online assignments for a class.

[About User Interface]

It's up to you to create a functional and user-friendly UI. You may use the UI of the survey component as an example. Particularly good UI will receive up to 20% extra credit, and particularly bad UI (e.g. entering all choices in one text box) will receive up to 20% extra penalty.

[About Submission and Grading]

Before submitting your work, commit all the changes to your Subversion repository and create a tag.

If you use any libraries that are not in the original CSNS and are not included in your csns.zip, please upload the library jar files together with csns.zip when you submit your work.

To test your project, we will use the following SQL scripts in your csns.zip to create, populate, and then clear the database:

Please make sure that these scripts are up to date and can be run in their entirety without generating any errors. You can check out http://sun.calstatela.edu/~cysun/public/cs520-grading/instructions.txt for more details about the grading procedure.