Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Department of transportation at Institute of Technology offers a Postgraduate Diploma programme in Data Analytics and Visualization. In the first semester of the first

The Department of transportation at Institute of Technology offers a Postgraduate Diploma programme in Data Analytics and Visualization. In the first semester of the first academic year, e.g., 2021, each student is required to take five (5) courses named using the following short course codes (DA101, DA102, DA103, DA104, and DA105). You are required to develop a C++ computer program (application) that will accept as inputs the following;

The names of all students taking that postgraduate diploma programme (, assume the total number of students is 30)

The scores for the five courses taken by each student

The computer program should calculate and store the average score for each student. The average score should be used to determine a students grade that the program will store. Finally, the program should display the output that shows the student's performance, as shown in the sample report below.

The student's grade will be assigned based on the calculated average marks as follows:

The Grade is A for marks between 70 and 80.

The Grade is B+ for marks between 60 and 70.

The Grade is B for marks between 50 and 60.

The Grade is C for marks between 40 and 50

The Grade is F for marks < 40.

You are required to:

(a) Conduct problem analysis and design.

(b)

Write algorithms of:

(i) The function to calculate the average score.

(c)

(ii) The function to display student grades.

Explain how you are going to format and display your final outputs, as shown in

the sample report?

(d)

Write the Main Program, which calls two functions in part (b). Use C++

Structure and Array to store relevant data for each student.

Display your output by following the report format below and enter sample data for at least ten

(10) students.

STUDENT PERFORMANCE REPORT FOR THE SEMESTER 1 - 2020

SN

STUDENT NAME

REGISTRATION NUMBER

AVERAGE SCORES

GRADE

1

Ali Badu

2021-013

66

B+

2

Musa Shammaa

2022-014

35

F

3

John Kokutona

2022-015

57

B

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

Oracle Solaris 11.2 System Administration (oracle Press)

Authors: Harry Foxwell

1st Edition

007184421X, 9780071844215

More Books

Students also viewed these Databases questions

Question

=+What is the nature of the unions in the particular country?

Answered: 1 week ago