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.

image text in transcribed

image text in transcribed

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
  • GPA

INPUT Code BKAF3123 Code BKAM3223 Code BKAMS213 Code ATNN 1012 Code BKAS3143 Grade A Grade B Circle Grade D Grade F Submit OUTPUT Total Credit Hours: 14 Total Grade Point: 29 Grade Point Average (GPA): 2.07 Actievement: Second Cluss Lower

Step by Step Solution

There are 3 Steps involved in it

Step: 1

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

The Development Of The American Public Accounting Profession

Authors: T.A. Lee

1st Edition

0415403944, 9780415403948

More Books

Students also viewed these Accounting questions

Question

Describe at least two creative bootstrapping resources.

Answered: 1 week ago