Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Objective: The objective of this assignment is to create a C + + program that calculates individual student grades, class averages, and average test scores

Objective:
The objective of this assignment is to create a C++ program that calculates
individual student grades, class averages, and average test scores based on given
test scores.
Question:
We have 3 students in a class.
The data consists of students' names and their test scores.
Each student has taken 2 tests, and each test is worth 100 points.
[4 marks] Design an algorithm to calculate the grade for each student.
[4 marks] Design an algorithm to find the average score, and
[4 marks] Design an algorithm to determine the grade for each student
(The program assigns grades to each student based on their average
scores)
Code Implementation:
Implement the provided C++ code in your programming environment.
Ensure that the code compiles without errors.
Documentation:
[1 mark] Add comments to the code explaining key sections and logic.
Write a brief explanation of the code's purpose and functionality.
Modification:
Experiment with modifying the code to understand its impact on the results.
For example, change test scores or the grading criteria to observe the
program's behaviour.
Hint:
You might find using two-dimensional array useful in answering this
question.
Submission:
Submit the assignment by providing the code along with any additional
documentation or comments.
[2 marks] Create and record a presentation to be submitted with the
assignment, you may include.
a. Flowcharts,
b. Explanations,
c. Code segments and ideas followed,
d. Any other materials seem to be useful for the presentation,
e. Record the code running and preform a test run
Please make sure to include names of the members of the group in the code
and in the presentation.
Additional Features (Optional - EXTRA CREDIT):
If you're up for a challenge, consider adding additional features to the program,
such as
[0.5 marks]: Make the program adaptive by asking the user the number of
students and number of tests.
[0.5 mark]: Make the user enter the student's names.
[2 marks]: Design an algorithm to determine the average for each test.
[2 marks]: Input Validation by checking if the program handles user input
appropriately, preventing invalid input.
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered 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

Students also viewed these Databases questions

Question

What is memory?

Answered: 1 week ago