Construct a C++ program to help a maths tutor record and compute the performance of students on a quiz. The program should compute various statistics about a student and print it out.

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter7: Arrays
Section: Chapter Questions
Problem 8PP: (Statistical) In many statistical analysis programs, data values considerably outside the range of...
icon
Related questions
Question
100%
Construct a C++ program to help a maths tutor record and compute the performance of students
on a quiz. The program should compute various statistics about a student and print it out.
The details are given as follows:
a. The program should read in the 5-digit ID number of a student, the number of correct and
wrong answers.
b. The program should then print the following items:
i. Student ID, number of correct and wrong answers.
ii. Total number of questions answered.
iii. Total number of questions omitted. Each quiz consists of 50 questions.
iv. Total score, which is double the number of correct answers.
v. Percentage of correct answers. (Number of correct answers divided by total number
of questions answered).
olay
c. The program should also determine the following:
i. If the student had more correct than wrong answers, or more wrong than correct
answers, or the same, print a message with this information.
ii. If the student omitted ten or more questions, print a message with this information.
d. The process should be repeated for each student. You must decide how to recognize the
last student.
e. Lastly, the program should print the total number of students in the class, the student ID
having the highest score and the one with best correct answer percentage. Let's assume
that there will only be one student for each category.
Transcribed Image Text:Construct a C++ program to help a maths tutor record and compute the performance of students on a quiz. The program should compute various statistics about a student and print it out. The details are given as follows: a. The program should read in the 5-digit ID number of a student, the number of correct and wrong answers. b. The program should then print the following items: i. Student ID, number of correct and wrong answers. ii. Total number of questions answered. iii. Total number of questions omitted. Each quiz consists of 50 questions. iv. Total score, which is double the number of correct answers. v. Percentage of correct answers. (Number of correct answers divided by total number of questions answered). olay c. The program should also determine the following: i. If the student had more correct than wrong answers, or more wrong than correct answers, or the same, print a message with this information. ii. If the student omitted ten or more questions, print a message with this information. d. The process should be repeated for each student. You must decide how to recognize the last student. e. Lastly, the program should print the total number of students in the class, the student ID having the highest score and the one with best correct answer percentage. Let's assume that there will only be one student for each category.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Computational Systems
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr