Question: Write a program that multiple students will use to take their math test (addition, subtraction, multiplication, division). First the student will have to enter their

Write a program that multiple students will use to take their math test (addition, subtraction, multiplication, division).  First the student will have to enter their name and the name of their teacher.  The student will then take the test.  10 questions per problem type.  The student will only get one chance to take the test.  After the student is done display their grade for the test and how many correct/incorrect for each section.  Return to main menu for the next student.  This will continue for every student.  Once the program has "exited" the total results will be displayed (Number of students that took the test and the average score for all students)

 

Requirements:

  • Array or ArrayList
  • User-defined classes (Constructor, Variables, methods)
  • Variables
  • Loops
  • Methods
  • Random
  • Scanner
  • Formatted results
  • Error checking

Step by Step Solution

3.54 Rating (157 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Java program that meets your requirements for students to take a math test including addition subtraction multiplication and division It uses ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!