Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Grade point average (GPA) is used to measure students performance based on subject achievement. The following input and output interface are the example of GPA

Grade point average (GPA) is used to measure students’ performance based on subject achievement. The following input and output interface are the example of GPA calculator.

 

The steps and formula for the calculations are as follows:

  1. Calculate Grade Point (GP) for each subject.

GP is calculated based on the point value of the grade obtained multiplied by the credit hour of the respective subject.

The following table is the point value for each grade.

Grade

Point Value

A

4

B

3

C

2

D

1

F

0

 

Note: Credit hour is determined from the last digit of the course code. For credit hour for course BKAS3143 is 3 hours.

 

For example, if a student gets an A for subject BKAS3143, GP = Point Value x Credit Hour = 4 x 3 = 12 (i.e. point value A = 4 whereas the credit hour is 3).

  

  1. Calculate Total Credit Hours (TCH) for the semester.

Total-up the credit hours for all subjects taken for the semester.

 

  1. Total Grade Point (TGP) of all subjects for the semester.

Total up the GP of all subjects. For example, if a student takes five subjects, the TGP = GP1 + GP2+ GP3+ GP4+ GP5.

 

  1. Compute the GPA.  

The formula is GPA = TGP / TCH.

 

REQUIRED:

  1. Assuming that students register for only five (5) courses, write PHP codes for the program.
  2. Determine student level of achievement based on the following condition:
  • GPA >=3.67 è First Class
  • >=3 GPA <3.67 è Second Class Upper
  • GPA <3 è Second Class Lower

Step by Step Solution

3.28 Rating (154 Votes )

There are 3 Steps involved in it

Step: 1

Name ob the Student Subjeck Goeeshma Toshy ... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Elementary Statistics A Step By Step Approach

Authors: Allan Bluman

8th Edition

73386103, 978-0073386102

More Books

Students also viewed these Accounting questions

Question

What is an after-tax approach to decision making?

Answered: 1 week ago

Question

List some common reasons for redesigning layouts.

Answered: 1 week ago