Update the credit hours and classification

Assignment Help Computer Engineering
Reference no: EM132092902

-Person (Name, ID, Address, DOB

- Instructor (InstructorID, Rank, Salary)

- Student (StudentID, Classification, GPA, MentorID, CreditHours)

-Course (CourseCode, CourseName, PreReq)

-Offering (CourseCode, SectionNo, InstructorID)

- Enrollment (CourseCode, SectionNo, StudentID, Grade)

Write a JDBC program P3.java.

For each student, update the credit hours, classification, and the GPA, taking into account the current GPA and grades in the courses the student is currently enrolled in.

All the courses are 3 credit courses.

The classification should be updated according to the following criteria:

Freshman: 0-29; Sophomore: 30-59; Junior: 60-89; and Senior: 90 and higher.

The grades are usual letter grades and the points assigned to the grade are as follows:

A = 4.00; A- = 3.66; B+ = 3.33; B = 3.00; B- = 2.66; C+ = 2.33; C = 2.00; C- = 1.66; D+ = 1.33; D = 1.00; F = 0.00

As an example, suppose that the current GPA of a student is 3.5, she is a freshman, has taken 27 credit hours, currently she is enrolled in two courses, and has A and B+ in those courses.

Then the new credit hours is 27 + 3 + 3 = 33. Her new classification is Sophomore. The new GPA is ((3.5 * 27) + (3 * 4.00) + (3 * 3.33)) /33 = 3.53.

You should calculate and store GPA as a float. Note that rounding of GPA must be done only for printing.

Reference no: EM132092902

Questions Cloud

Which computer and compiler would you purchase : Which computer and compiler would you purchase if all other criteria were identical, including cost.
Find two ways to change the mac address on your computer : Perform a little research to find two ways to change the MAC address on your computer. Clearly explain why this is valuable knowledge to have.
Create a coin toss simulation program : A no-arg constructor, which randomly determines the side of the coin, that is facing up ("heads" or "tails") and initializes the sideUp field accordingly.
How frequently should the key be changed : What attack is more likely to succeed if a key has been used frequently? How frequently should the key be changed?
Update the credit hours and classification : Update the credit hours, classification, and the GPA, taking into account the current GPA and grades in the courses the student is currently enrolled in.
Insert at least five sample rows of data into the employee : The database should have a table named Employee , with columns for employee ID, name, position, and hourly pay rate.
Describe data structure you will use to store opt value : Describe data structure you will use to store OPT value for the subproblems and the order in which you will fill out the entries in your data structure.
Write an algorithm for the following input two numeric value : If the second is larger than the first, perform a real division. Otherwise, perform an integer division.
How do you call a subroutine called myprogram : Write the code to assign "Dean", "Sam", "Castiel", "Bobby", and "Charlie" to the Perl equivalent of an array.

Reviews

Write a Review

Computer Engineering Questions & Answers

  What would be the transmission rate

Supposed two TCP connections are present over some bottleneck link of rate R bps. Both connections have a huge file to send (in the same direction over the bottleneck link). The transmissions of the files start at the similar time. What is the tra..

  Describe why this approach is needed in this scenario

What is complex data binding? What benefits can this capability lend to a multiple-table database application? Present an example of a situation where complex binding would be appropriate in an application and discuss why this approach is needed i..

  What will do to get deadline to receive a passing grade

What will do to get deadline to receive a passing grade? You have to complete and submit course project previous to the deadline to receive a passing grade for this course.

  Describes the added error-handling pathways

Produce a narrative which describes the added error-handling pathways that includes: an overview of the errors being checked and an explanation of the main reasons why checking for such errors is important

  Express what cultural phenomenon it defines

Some attributes of a company's organizational culture are so obvious that even an independent observer (or a visitor) can feel them. Give us an example of such an observation and define what cultural phenomenon it defines.

  What are your plans after you have successfully completed

What are your plans after you've successfully completed this class? Have you looked into the ICND 1 Certification exam yet?

  Show circuit that will generate an error if an attempt made

A computer system has a 16-bit address bus. The first 4K of the memory must be configured with ROM and the remaining as RAM.

  Explain a use case dependency for making an account deposit

Explain (in a one to two page narrative) a use case dependency for making an account deposit. Illustrate this use case with Visio or a similar product.

  Write a program that creates a polyline shape dynamically

Write a program that counts the number of times the mouse has been clicked. Display that number in the center of the window.

  Write a program that converts a temperature given

Write a program that converts a temperature given in Fahrenheit to Celsius. Allow the user to enter values for the original Fahrenheit value.

  Determine the number of rows and column of data on worksheet

Determine the number of rows and columns of data on the worksheet and store these values in variables named M and N. Create a MxN array named array1.

  Identify the test objectives and test approaches

A typical download takes one hour, and an interrupted download must be restarted from the beginning. The number of customers downloading at the same time ranges from 10 to 100 throughout peak hours. On average, your system could go down about once..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd