CS 111: Program 7
Based on Programming Challenges #8:
Registration System on page 837 of your textbook.
Create an application that calculates the registration fees for a conference.
The general conference registration fee is $895 per person, and student
registration is $495 per person. There is also an optional opening night dinner
with a keynote speech for $30 per person. In addition, the optional
preconference workshops listed in table below are available.
| Workshop |
Fee |
| Introduction to E-commerce |
$295 |
| The future of the Web |
$295 |
| Advanced Java Programming |
$395 |
| Network Security |
$395 |
The application should allow the user to select the registration type, the
optional opening night dinner and keynote speech, and as many preconference
workshops as desired. The total cost should be displayed.
Sample Session
No screen snapshots provided. The GUI design for this
assignment is your responsibility and its quality will be part of the grading
criteria.
What to turn in
- Source program printouts stapled together with file header comments on all
printouts
- Be sure your project is saved in your
U:\Program7\ folder
- The assignment is due
July 29. You program must compile and produce output for you to receive any
credit.
- You are allowed one late programming assignment for the quarter. If you
use this as your late assignment, it is due at the start of the final exam.
Grading Criteria
50 points maximum
- 10 points - User Interface Design
- Wow, I am blown away by the user interface (10)
- Nice, the user interface is attractively laid out and very usable (8)
- OK, The user interface is usable (6)
- Poor, the user interface is usable but represents a minimalist effort
(4)
- Unsatisfactory, I could not figure out how to use the user interface (2)
- Spelling, capitalization, and grammar of user interface is correct (-1
per error)
- 25 points - Output Correctness
- User must indicate their registration type (general or student) (5)
- User may (optionally) choose to attend one or more workshops (5)
- User can add on the optional opening night dinner and keynote speech (5)
- The registration fees calculated and displayed are correct (10)
- 5 points - Object Oriented Design
- The program is subdivided into appropriate classes and methods
- Keep methods under 25 lines of code (LOC) in length and do only one
thing per method
- Use private helper methods whenever appropriate
- 5 points - Programming Style
- Program header comments are present and complete. All files need header
comments (2)
- Single-line comments are present, helpful, and sufficient (2)
- Skip a blank line before every single-line comment
- Align the comment with the code
- Generally one single-line comment is needed for every four to six
lines of code
- Begin every method with a single-line comment describing what the
method does
- Naming conventions, alignment, and indentation are important. Read
through the Java Style
Guide for CS 111 expectations (1)
- 5 points - Creation and printout of the jGRASP Project
files
- Project
U:\Program7\ created correctly in your network
cs111 account and project files saved correctly in the project folder (2)
- Source printouts submitted correctly
- Avoid line wrap in your source printout
- Print files with line numbers and CSD showing