CH 15 Online Project Test

Due on Tue, Dec 11, 2001

Project Test Specs & Grading Metrics

Step Description
Note Chapter 15 is devoted to discussing the programs that you will be working with.  This project is based on page 791 (section 15.15 Exercises) exercises 1 - 3.
0. Preparation
  • Create a text file with the following name: <last>_<middle initial>_<first>.txt
    Example: Thomas_A_Michael.txt  - If my name was Michael A Thomas.
    • Place the following code in the text file:
      /*
      * Student Name..: <Your Name>
      * Course........: <Course Code>
      * Project.......: <Project Code>
      * Submit Date...: <Date you Submit the Project Test>
      * Grade:
      *                                      Student / Teacher
      *   Compiles & Attempted (max 50 pts): _______ / _______
      *   Step 0 (max 10 pts)              : _______ / _______
      *   Step 1 (max 10 pts)              : _______ / _______
      *   Step 2 (max 10 pts)              : _______ / _______
      *   Step 3 (max 10 pts)              : _______ / _______
      *   Instructor's Assessment (10 pts) : _______ / _______
      *   Bonus  (max 5 pts)               : _______ / _______
      *   Late Work (-5pts per day)        : - _____ / - _____
      *   (Due Tue 12/11/2001)
      *   Total..............              : _______ / _______
      */
    • When you are finished with the project place your suggested points and grade in the Student column.  Make sure you also place in the Student column the suggested grade for the "Instructor's Assessment" and the "Total Grade".
  • Before you modify the current program, run the application adn create a course having the following data:
    • Course title = Java
    • Course Instructor = Michael Thomas
    • Add the following students:
      • Graduate, Jane Doe, Test1=100, Test2=95, Test3=90
      • Graduate, John Doe, Test1=80, Test2=75, Test3=70
      • Undergraduate, Mary Thomas, Test1=90, Test2=85, Test3=80
      • Undergraduate, Mark Thomas, Test1=70, Test2=65, Test3=60
    • Show the roster (All Students).
    • Compute the Grades
    • Show the roster (All Students).  Verify that the males did not pass and the females did.
    • Now show one students record: Mark Thomas.
    • Add the Student:  Graduate, Kay Thompson.  Then run show the roster.
    • Now, Delete the Student: Kay Thompson
    • From the Menu: File, Save.  Save the file as:  Java.dat.  Make sure your save the file in the same directory as you source code.
    • Now, close your program.
    • Restart the program and load the Class Roster from Java.dat (File, Open)
    • Now show the roster.
    • At this point you should have used most of the features of the application. 
1. Improve the routine to get course information in the grade roster program.  Instead of using an InputBox to input a course title and instructor name, define a new custom dialog class for this purpose.  Name the class: CourseInfoDialog

Now both questions will appear in one custom dialog box.  Make sure you ask for and obtain the following information:  "Enter Course Title" & "Enter Course Instructor"

Notes: 

  • From the menu: Edit, Student Name - A good example of a custom dialog class (StudentNameDialog.java)
  • To check your solution - From the menu: File, New
2. Add import and export features to the grade roster program.  Add the menu choices Import and Export to the program.  Import data from and export data to a user-designated textfile.  To simplify the process, use the same data format for both the import and export files.  The textfiles now can be edited by a text editor like Notepad or Wordpad.

Test your solution:

  • Using the application, open the Java.dat file.
  • Show the roster to verify that everything is functioning.
  • Next, export to a text file named:  Java.txt
  • Now quit the application.
  • Launch the application and import the Java.txt file.
  • Show the roster to verify that everything is functioning.
3. Design a custom dialog for displaying information of a single student.  See page 791 Exercise #3 for a picture of the layout.

Name the new class file: OneStudentDisplayDialog

Bonus When you Show the records the OutputBox also shows the history of activity.  Make it just show the current request. (+5 points)
Submit When you submit the project you will zip up all files and send me one zip file with the following naming convention: <last>_<first>_<middle initial>_v1.zip. 
  • Send the email to: unf@michael-thomas.com and mthomas@unf.eduIf for some reason you need to send another version, change the v1 to v2 etc...
  • I will email a response back when I have received your email.
  • After I have graded the Project I will email the file back to you with the grade in the .txt file.
Metrics Grading Metrics
  • Program compiles and student has attempted 0 - 3:  50 points.
  • Step 0 completed: 10 points
  • Step 1 completed: 10 points
  • Step 2 completed: 10 points
  • Step 3 completed: 10 points
  • Instructors assessment based on look and feel, coding style, commenting, etc...: 10 points.
  • Late work: -5 pts per day. (Due Tue 12/11/2001)