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

Generating Dynamic form, I am having an combox box and values are retrieved...

I am having an combox box and values are retrieved from the database having inputs and labels i want to created the dynamic form accroding to user input on combox box values

What is spreadsheet and list any two jobs that it can do, What is spreadshe...

What is spreadsheet? List any two jobs that it can do? A spreadsheet is a grid which organizes data within columns and rows. Spreadsheets form it simple to display information,

Give the javascript code output, What is output of the following JavaScript...

What is output of the following JavaScript code? Str="Virtual University of Pakistan"; document.write(str.substring(5,str.length)) ;

What are the important beans lifecycle methods, There are two significant b...

There are two significant bean lifecycle methods. The first one is setup which is called when the bean is loaded on to the container. The second method is the teardown method which

Differentiate uni-processor os from multi-processor os, Differentiate uni-P...

Differentiate uni-Processor OS from Multi-Processor OS? Uni-processor OS : Uni-processor OS'es is designed to schedule tasks on a single uPs just whereas Multiprocessor O

I am requiring webcam software integrated into my site, I am requiring webc...

I am requiring webcam software integrated into my site I have website and I am wanting webcam software integrated into my site the company I have found doesn't offer support in

Program, write code employe managment

write code employe managment

Week 7, This is a two part project, one in Alice, and another in Java. You ...

This is a two part project, one in Alice, and another in Java. You can either zip the files together as one and upload the single zip file, OR upload the separate files. If you dec

Malformedurlexception and unknownhostexception, When MalformedURLException ...

When MalformedURLException and UnknownHostException throws? Ans) When the particular URL is not connected then the URL throws MalformedURLException and If InetAddress? methods g

Differentiate between primitives and objects, Differentiate between Primiti...

Differentiate between Primitives and Objects Everything in Java is an "Object", as every class by default inherits from class "Object", except a few primitive data t

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