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

Describe importing classes in java, Describe Importing Classes in java? ...

Describe Importing Classes in java? Fully qualified names such as java.net.URL are not the most convenient thing to have to type. You can use the shorter class names like URL w

Java application to simulate a bank system, Write a Java application to sim...

Write a Java application to simulate a bank system. In the system, customers can open new bank accounts with the bank, and register/use an online account to manage their bank accou

Difference between object declaration and object creation, Question: (a...

Question: (a) (i) Describe the purpose of comments when writing programs in Java. (ii) Name the types of comments available and illustrate with simple examples. (b) (i)

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

Differentiate between smtp and pop3 server, Differentiate between SMTP and ...

Differentiate between SMTP and POP3 server? SMTP (Simple Mail Transfer Protocol) is a protocol used to send and receive eMail messages over a TCP/IP network. While POP3 (Post

What are the core classes of the struts framework, Struts is a set of coope...

Struts is a set of cooperating classes, servlets, and JSP tags that make up a reusable MVC 2 design. ? JavaBeans components for managing application state and behavior. ? Eve

Difference between object state and behavior, What is difference between ob...

What is difference between object state and behavior? Ans) If you change the state of an object, you ask it to perform a behavior. An object kept its states in a field e.g. vari

Illustrate the parser method, Illustrate the parser method The below ta...

Illustrate the parser method The below table summarizes the parser methods available to a java programmer.

Advantage of event-delegation over event-inheritance model, Describe advant...

Describe advantage of the event-delegation model over the earlier event-inheritance model ?

Relate java with JVM, Relate java with JVM Java performance gets better...

Relate java with JVM Java performance gets better each year as JVM gets smarter. This works, since making JVM smarter doesn't require any great change to the java language, sou

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