Tm105 introduction to programming assignment

Assignment Help JAVA Programming
Reference no: EM132497803

TMA Project

In credit hours system universities, like Arab Open University, grade point average (GPA) is overall grade point average. For each course, there are certain credits which are usually based on how many hours the class is held in each week. Student's GPA is calculated by dividing the total amount of grade points earned by the total amount of credit hours attempted. Student's GPA ranges from 0.0 to a 4.0. To get the example student's GPA, the total grade points are divided by the total credit hours attempted. Here is the simple formula to calculate the GPA:

GPA = ∑course grade points x course credit hours/∑course credit hours

The course grade point depends on the course gained mark as follows:

Gained mark range

Course point

≥ 90

4.0

82 - 89

3.5

74 - 81

3.0

66 - 73

2.5

58 - 65

2.0

50 - 57

1.5

< 50

0

Write a Java program that calculates the GPAs of a class of students that works as follows:
1. Read the number of students in a class (minimum 10 students.)
2. For each student, read the student's name and number of courses the students
registers.
3. For each course, it read marks of the course and the number of credit hours of the course.
4. Then it computes the grad for each course as defined in the above cases.
5. Computes and prints (rounded to 2 decimal places) the GPA of the student, as presented in the above equation.
6. Finally, it should print the name and the GPA of the student who got the heist GPA.

Give the exact output of your application (input values are in red). Provide a snapshot in the word file representing the exact output of any values from your choice.

Attachment:- TMA Project.rar

Reference no: EM132497803

Questions Cloud

What is the overall return on jill portfolio : After a year, A appreciates by 10%, B by 40%, and C depreciates by 20%. What is the overall return on Jill's portfolio during this year?
Determining the project npv : A project requires an investment of $100M in three years. Starting at the 4th year, the project will yield a cashflow of $7m per year, for 20 years.
What is the irr of project : A project requires a $15m investment today; beginning next year it will generate a cashflow of $1m each year, forever. What is the IRR of this project?
What are the synergies that come from the economies of scope : What are the synergies that come from the economies of scope? How do economies of scope and economies of scale differ within the context of your chosen scenario
Tm105 introduction to programming assignment : TM105 Introduction to Programming Assignment help and solution - Write a Java program that calculates the GPA
What is the rate of return on the security : The preferred stock of West Coast Limited pays an annual dividend of $4 and sells for $50 a share. What is the rate of return on this security?
Estimate the dollar cash flows received as a result : Estimate the dollar cash flows received as a result of using the options market hedging strategy.
Define gains and losses in brief : Define "gains" and "losses" and explain how they differ from "revenues" and "expenses". Discussion Instructions (Initial Post is Require before "Viewing").
What is the current value of one share of stock : The company just paid its annual dividend in the amount of $1.00 per share. What is the current value of one share of this stock if the required rate of return

Reviews

Write a Review

JAVA Programming Questions & Answers

  Implement the basic properties of a bank account

Define the class bankAccount to implement the basic properties of a bank account. An object of this class should store the subsequent data:

  Write an enhanced for loop

Write an enhanced for loop that counts how many numbers in an ArrayList object named list are negative. Print the count after the loop terminates

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Eligible for garbage collection

When is the B object, created in line 3, eligible for garbage collection - There is no way one can be absolutely certain.

  Build the gui layout of the gamecreate a class called

build the gui layout of the gamecreate a class called pipegameapp.java which will be the main game user interface. the

  Program to calculate the payment amount for 3 mortgage loans

Write the program in Java (without a graphical user interface) and have it calculate the payment amount for 3 mortgage loans

  Write a calculator program for integer numbers in java

Write a calculator program for integer numbers in java. The calculator should be able to do addition, subtraction, multiplication, and division for integer numbers.

  Construct a fileinputstream with the file name

Write a program that will search a text file of strings representing numbers of type int and will write the largest and the smallest numbers to the screen. The file contains nothing but strings representing numbers of type int one per line. Your s..

  Statement that creates and initializes a static variable

Write a statement that creates and initializes a static variable named salesTax to 7.59. Write a statement that creates a constant variable named TAX_RATE. The tax rate is 8.25%

  Define responsive design

Define Responsive Design and clarify what techniques can be used to create a responsive design for a web application? Explain what makes jQuery Mobile different from other JavaScript libraries such as jQuery and jQueryUI

  Discuss advantages of leasing capital equipment

Discuss advantages of leasing capital equipment

  Display a javascript program

Display a JavaScript program that asks the user to enter the weight of a person in kilograms and outputs the equivalent weight in pounds

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