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

What is overriding, What is Overriding? When a class explains a method ...

What is Overriding? When a class explains a method using the similar name, return type, and arguments as a method in its superclass, the method in the class overrides the metho

Differences between AOP and OOP, Normal 0 false false false...

Normal 0 false false false EN-US X-NONE X-NONE      Obj ec t Ori e n

Illustrate the method to print on the GUI, Illustrate the method to print o...

Illustrate the method to print on the GUI Example Code: Taking Input / Output So far, we learned how to print something on console. Now time has come to learn how to print

Write a program calculates the resistance of group resistors, The formula f...

The formula for resistors linked in parallel is a little more complex. Given two resistors along with resistances R1 and R2 linked in parallel the equivalent resistance is given th

Password Generator Software, In this exercise, I want you to generate passw...

In this exercise, I want you to generate password based on random number generator. Develop an application that keeps track of the URL, username and password. I have listed few st

Illustrate an example of static variables, Illustrate an example of static ...

Illustrate an example of static variables System. out .println("some text"); -- out is a static variable JOptionPane. showMessageDialog (null, "some text"); -- showMessageDi

How much cpu time does an applet get, How much CPU time does an applet get?...

How much CPU time does an applet get? One of the few legitimate concerns about hostile applets is excessive use of CPU time. It is possible on a non-preemptively multitasking s

Applet, how to create a face with nose using applet

how to create a face with nose using applet

Difference b/w a static variable and an instance variable?, Class variables...

Class variables are named as static variables. There is only single occurrence of a class variable per JVM per class loader. When a class is operated the class variables are in

Java., the textbok is Introduction to Java™ Programming, Brief Version, Eig...

the textbok is Introduction to Java™ Programming, Brief Version, Eighth Edition Week 8 Exercises Chapter 8 Programming Exercises from Pages 295 - 299. Do Exercise Problems 2,

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