Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program 1: Write a Python program to accept student ID, student name, marks and credit hours in n number of courses of a student and

image text in transcribed
Program 1: Write a Python program to accept student ID, student name, marks and credit hours in n number of courses of a student and display the student ID, student name, mark, letter grade, grade points in all courses and the cumulative grade point average(CGPA). The value of n should be accepted as input. The CGPA should be printed with two decimal places. The Letter grade and grade points corresponding to a mark is given in the following table Mark Letter grade Grade points 90-100 A 85-89 3.7 4 B+ 76-80 B 3.3 B- 2.7 73-75 70-72 2.3 67-69 2 60-66 C- 1.7 D F 0 55-59 1 0-54 Note: To calculate the CGPA, the credit hours of each course is multiplied by the grade points in that course and the sum of these products is then divided by the sum of the credit hours. Include the following comments at the beginning of your code. Make sure that you replace and with your information. # File name: CGPA.py # Student ID: # Student name:

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_2

Step: 3

blur-text-image_3

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

More Books

Students also viewed these Databases questions

Question

Describe the service profit chain. Provide an example.

Answered: 1 week ago

Question

How do Dimensional Database Models differ from Relational Models?

Answered: 1 week ago

Question

What type of processing do Relational Databases support?

Answered: 1 week ago

Question

Describe several aggregation operators.

Answered: 1 week ago