Question Details

(solution) The fourth programming project involves writing a program to


The fourth programming project involves writing a program to manage a student database. The interface to the program should be a GUI 

please follow the rubric attached with assignment 


The fourth programming project involves writing a program to manage a student database. The interface

 

to the program should be a GUI that looks similar to the following: A combo box should allow the user to select one of the four database actions shown. The database

 

should be implemented as a HashMap, with the ID field as the key and a student record consisting of a

 

name and major as the value. The operation should be performed when the user clicks the Process

 

Request button. If the user attempts to insert a key that is already in the database an error message

 

should be displayed using a JOptionPane message dialog box. If the user attempts to delete, find or

 

update a record that is not in the database, a message should also be displayed. After each successful

 

operation is completed a JOptionPane window should be displayed confirming the success. In the case

 

of a successful Find request, a window should pop up containing the student's ID, name, major and

 

current GPA. When the user selects the Update request, the followingJOptionPane windows should be

 

displayed to gather information about a course that has just been completed: This program must consist of two classes. The first class should define the GUI and handle the database

 

interactions. It should be hand-coded and not generated by a GUI generator. The second class

 

named Student, should define the student record. It must have instance variables for the student name,

 

major and two variables that are used to compute the GPA. A variable that contains the total number of

 

credits completed and a second variable that contains the total quality points, which are the numeric value

 

of the grade received in a course times the number of credit hours. It should not contain the student ID.

 

The class should have the following three methods:

 

1.

 

A constructor that is used when new student records are created. It should accept the name and

 

major as parameters and initialize the fields that are used to compute the GPA to zero.

 

2.

 

The second method courseCompleted should accept the course grade and credit hours and

 

update the variables used to compute the GPA. It will be called when an Update request is made. 3. The third method should override toString and return a labeled string containing the student

 

name, major and GPA.

 

Be sure that all instance and class variables are declared as private. Also any exceptions thrown by

 

nonnumeric inputs should be properly handled. Finally when a student has not yet completed any course,

 

the GPA should be displayed as 4.0. Rubric Name: Assignment Rubric

 

Criteria Exceeds

 

20 points

 

(18-20 points)

 

Employs Modularity

 

(including proper

 

use of parameters,

 

use of local

 

variables etc.) most

 

of the time Design Employs correct &

 

appropriate use of

 

programming

 

structures (loops,

 

conditionals, classes

 

etc.) most of the

 

time Meets

 

17 points

 

(15-17 points)

 

Employs Modularity

 

(including proper

 

use of parameters,

 

use of local

 

variables etc.) some

 

of the time

 

Employs correct &

 

appropriate use of

 

programming

 

structures (loops,

 

conditionals, classes

 

etc.) some of the

 

time Does not meet

 

14 points

 

(0-14 points)

 

Rarely employs

 

Modularity

 

(including proper

 

use of parameters,

 

use of local

 

variables etc.)

 

Rarely employs

 

correct &

 

appropriate use of

 

programming

 

structures (loops,

 

conditionals, classes

 

etc.) Poorly structured

 

Efficient algorithms

 

Efficient algorithms

 

and inefficient

 

used most of the

 

used some of the

 

algorithms

 

time

 

time Functionality Excellent use of

 

object-oriented

 

design Rarely uses good

 

Good use of objectobject-oriented

 

oriented design

 

design 40 points 35 points (36-40 points)

 

Program fulfills all

 

functionality (29-35 points)

 

Program fulfills

 

most functionality 28 points

 

(0-28 points)

 

Program does not

 

fulfill functionality All requirements

 

were fulfilled

 

Extra effort was

 

apparent

 

20 points Test (18-20 points) Most requirements

 

were fulfilled Few requirements

 

were fulfilled 17 points 14 points (15-17 points) Comprehensive test Good test plan

 

plan

 

included

 

20 points (0-14 points)

 

No test plan

 

included 17 points

 

14 points (18-20 points)

 

Excellent comments Documentation Comprehensive

 

lessons learned

 

Excellent possible

 

improvements

 

included

 

Excellent approach

 

discussion and

 

references Overall Score Exceed

 

90 or more (15-17 points)

 

(0-14 points)

 

Good comments

 

No comments

 

Some lessons

 

learned

 

Some possible

 

improvements

 

included

 

Some approach

 

discussion

 

Meets

 

70 or more No lessons learned

 

No possible

 

improvements

 

No approach

 

discussion Does not meet

 

0 or more

 


Solution details:
STATUS
Answered
QUALITY
Approved
ANSWER RATING

This question was answered on: Jan 30, 2021

PRICE: $15

Solution~0001018480.zip (25.37 KB)

Buy this answer for only: $15

This attachment is locked

We have a ready expert answer for this paper which you can use for in-depth understanding, research editing or paraphrasing. You can buy it or order for a fresh, original and plagiarism-free solution (Deadline assured. Flexible pricing. TurnItIn Report provided)

Pay using PayPal (No PayPal account Required) or your credit card . All your purchases are securely protected by .
SiteLock

About this Question

STATUS

Answered

QUALITY

Approved

DATE ANSWERED

Jan 30, 2021

EXPERT

Tutor

ANSWER RATING

GET INSTANT HELP/h4>

We have top-notch tutors who can do your essay/homework for you at a reasonable cost and then you can simply use that essay as a template to build your own arguments.

You can also use these solutions:

  • As a reference for in-depth understanding of the subject.
  • As a source of ideas / reasoning for your own research (if properly referenced)
  • For editing and paraphrasing (check your institution's definition of plagiarism and recommended paraphrase).
This we believe is a better way of understanding a problem and makes use of the efficiency of time of the student.

NEW ASSIGNMENT HELP?

Order New Solution. Quick Turnaround

Click on the button below in order to Order for a New, Original and High-Quality Essay Solutions. New orders are original solutions and precise to your writing instruction requirements. Place a New Order using the button below.

WE GUARANTEE, THAT YOUR PAPER WILL BE WRITTEN FROM SCRATCH AND WITHIN A DEADLINE.

Order Now