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

Use array to store values in a program, 1) Listing of the source code ( nam...

1) Listing of the source code ( named Rainfall.java ) for your program 2) Two sample output/execution/runs of your program Optional Group Work: This assignment may be done in

Write a bouncing ball game, Write a bouncing ball video game. The game is s...

Write a bouncing ball video game. The game is similar to the one described and depicted in Figure of the text book. The balls bounces within the screen where the two horizontal wal

Moving test, After refactor the main class to become abstract class, I want...

After refactor the main class to become abstract class, I want to move test method from tset clas of main class to subclass, how to do that?

Online Music Store, Online music store that stores information about song, ...

Online music store that stores information about song, artist, album, customer, playlist. Also all necessary diagrams - use case, uml, erd

Instance of a SyntaxTree object is null. I don''t know why.?, I have been w...

I have been working on my compiler''s parser now. And for some reason i cant make my parse tree printer to work. SyntaxTree keeps on showing as null when i invoke the print() metho

What are the usages of package in java? , It helps to resolve naming confli...

It helps to resolve naming conflicts when different packages have classes with the same names. This also helps you prepare files within your project. As define : java.io package d

Explain try and catch exception in java, Explain try and catch exception in...

Explain try and catch exception in java? Why use exceptions instead of return values? 1. Forces error checking 2. Cleans up your code through separating the normal case from

What is the use of throws keyword, What is the use of throws keyword ? ...

What is the use of throws keyword ? Rather than explicitly catching an exception you can declare in which your method throws the exception. This passes the repsonsibility to h

Write the hashcode() method of java.lang.object, Write the hashCode() metho...

Write the hashCode() method of java.lang.Object Anytime you override equals() you should also override hashCode(). The hashCode() method should ideally return the similar int f

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