Implement relationship using a java program, JAVA Programming

Assignment Help:

 Implement relationship using a java program. Assume each course has a course title, code, subject and number of credits while each student has a name, registration number, list of courses that the student follows and the marks for each course.

2.  Use the text files given and store the information of courses and students

3.  Define separate methods for the followings within suitable classes

a.  Display the details of a student

b.  Display the details of a subject

c.  Calculate the average of a student

d. Find the grade of a particular subject of a student

Marks>=75    ---  A

Marks>=65    ---  B

Marks>=55          C

Marks>=45          D

Marks<45            F

e. Calculate overall average of a particular subject

f.  Calculate  the GPA  of  a  student.

    A ----- 4.0

   B ------3.3

   C -----   2.7

   D           1.5

    F           0

 

4. Display the following menu.

1. Enter  details of  each student

2. Display details of  a particular student

3. Calculate the GPA of a particular student

4. Find  the grade of a particular course of a particular student

5. List out the registration numbers of a students who follow a particular course

6. Calculate the overall average of a particular subject

7. Display details of all the students in the faculty

8. Find the number of repeaters of a particular course

9. Find the person who has the highest GPA

10. Exit from the system

5. Perform operations given in the above menu, repeatedly until the users enters 10

6. Create the above program using GUI interface.


Related Discussions:- Implement relationship using a java program

How is method overriding different from method overloading, How is method o...

How is method overriding different from method overloading? Overriding involves the creation of two or more concepts with the same name and same signature in different classes

Can a class implementing a remote interface, Can a class implementing a Rem...

Can a class implementing a Remote interface have non remote processes? Ans) Yes. Those processes behave as normal java process operating within the JVM.

Describe overriding methods, Describe Overriding Methods ? Assume that...

Describe Overriding Methods ? Assume that one day you've just finished your Car class. It's been plugged into your traffic simulation that is chugging along merrily simulating

Bilbo board , Design and simulate the bilbo board which should include thre...

Design and simulate the bilbo board which should include three configurable bilbos and some application logic to verify tester operation. the system will be designed using proteus

What happens to static fields of class during serialization, What happens t...

What happens to the static fields of a class during serialization? There are three exceptions in which serialization does not necessarily read and write to the stream. These

What is the point-to-point model in jms, A point-to-point model is based on...

A point-to-point model is based on the concept of a message queue: Senders send messages into the queue, and the receiver reads messages from this queue. In the point-to-point mode

Help about java code regarding udp, I need to know waht exactly is happinin...

I need to know waht exactly is happining in the following code class Worker implements Runnable { DatagramSocket socket = null; DatagramPacket packet = null; public W

Illustrate dynamic vs. static class loading?, 1. "Classes are statically lo...

1. "Classes are statically loaded with Java's "new" operator." This would imply that static methods could be executed without the class being loaded. 2. "Unlike the static loa

Write Your Message!

Captcha
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