1
Team Members: __________________
Total Points (100 pts): __________________
Due: After Thanksgiving
Semester Project: Automatic Grading System
CSCI 4520 Rapid Java Application Development
Armstrong Atlantic State University
Team: Form a team with 3 members. You will learn how to work in a team. You will
learn from your teammates and learn how to teach your teammates as well.
Problem Description:
Develop a Web application with the following requirements:
1. Creating accounts:
1.1. Enable the instructor to create instructor accounts. The signup code for
instructor is instructor.
1.2. Enable the students to create accounts that are linked to the instructor’s
course ID. The signup code for student is student.
2. Assign exercises:
3. Complete exercises:
3.1 Enable the student to select a programming exercise, compile/run/submit
its solution, and receive automatic feedback and a score (whether the
program compiles and runs correctly).
3.2 How do you grade the program?
The test data for each exercise is given in c:\ags5520\gradeexercise. If the
exercise does not require input, the test data is stored in Exercisei_j.output.
If the exercise requires input, the test data is stored in Exercisei_ja.input,
Exercisei_jb.input, … for input and Exercisei_ja.output,
Exercisei_jb.output, … for output.
2
5. Download the exercise definition file from
6. Write a program to load the data from ags5520 into the DefaultExercise
table.
*******
When your Web project is launched, it reads the exercise descriptions from the
files and stores them in an array. The user can select an exercise from a combo
box. Once an exercise is selected, its description is displayed. The user can then
When you click the Run button, compile the file. Display the compile errors if the
program does not compile. Otherwise, run the program with test input and display
test result.
The exercise is graded by matching the tokens in the test output file with the
exercise output. The tokens are delimited by the pound sign (#). All tokens must
appear in the exercise output in order for the program to be graded correctly.
Issues:
Security:
How do you compile a program from AGS?
How do you run a program from AGS?
3
Select an Exercise:
Combo Box
Selected Exercise Description:
Requirements:
(1) Use JSP, NetBeans Visual Web JSF, or IceFaces.
(2) Develop the program on Windows or Unix.
What to submit?
1. Name your project 5520AGSLastNames. Send me a .zip file of your project.
2. Fill in self-evaluation:
1. Can your program display the GUI? _______________
2. Can your program let the user choose an exercise? _______________
Button for Running the program