Question: i need help with homework using the direction provided For this assignment, you will create a new Netbeans project using the following format LastNameFirstName-Homework6 and
i need help with homework using the direction provided
For this assignment, you will create a new Netbeans project using the following format LastNameFirstName-Homework6 and follow a instructions as given for each part of the assignment Turn-in Instructions: Once finished, zip your project directory (which should result in a zip file named LastNameFirstName-Homework6.zip) and turn in via blackboard by the due date. No late homeworks will be accepted since the solution will appear on the deadline! Class Grading Simulation: we will be simulating test scores and homework scores for students, curving e individual test scores, determining if we need to offer extra credit, and reporting final averages for all students (15 points) We will be simulating students by using three arrays for 100 students The first array holds their name (1 per student The second array will hold their homework scores (6 per student) The third array will hold their exam scores (3 per student) (15 points) Initialize the Arrays using the following instructions: The name array should be initialized using random first names and random last names in the format LastName, First Name (like we did in class The homework score array should be initialized using random integers between 60 and 100 for each student The test score array should be initialized using random numbers between 60 and 100 30 points For each exam, determine if there needs to be a curve and do something about it if necessary A curve is necessary if the average ofthe scores for that exam is below 75. lf a curve is necessary, add the curve to the test scores and report the curve (if no curve, necessary report that as well) 20 points) Determine if there needs to be homework extra-credit offered Extra credit is necessary if and only if the average of a non-zero homeworks for all students is less than 75 If extra-credit is necessary, determine how much (75-average) 2 and offer it. You should assume at only some people will do it, so add to everyone's last homework a random amount of extra credit between 0 and (75-average) 2 If extra-credit was necessary, report how much was offered, otherwise report none was necessary (20 points) Report the results of the simulated class! Calculate the final grade for each student using the grading ofthis class (15% for exam1, 25% for exam2, 30% for exam3) and 30% for the homework average Report the final score for each student on its own line similar to: LastName, FirstName: SCORE Print a blank line and then report the frequency (percentage using of each final grade in the class. Hint: Determine how many of each grade and divide that by the number of grades (100) and then multiply by a 100 (percentage Name your file: ClassSimulation.java For this assignment, you will create a new Netbeans project using the following format LastNameFirstName-Homework6 and follow a instructions as given for each part of the assignment Turn-in Instructions: Once finished, zip your project directory (which should result in a zip file named LastNameFirstName-Homework6.zip) and turn in via blackboard by the due date. No late homeworks will be accepted since the solution will appear on the deadline! Class Grading Simulation: we will be simulating test scores and homework scores for students, curving e individual test scores, determining if we need to offer extra credit, and reporting final averages for all students (15 points) We will be simulating students by using three arrays for 100 students The first array holds their name (1 per student The second array will hold their homework scores (6 per student) The third array will hold their exam scores (3 per student) (15 points) Initialize the Arrays using the following instructions: The name array should be initialized using random first names and random last names in the format LastName, First Name (like we did in class The homework score array should be initialized using random integers between 60 and 100 for each student The test score array should be initialized using random numbers between 60 and 100 30 points For each exam, determine if there needs to be a curve and do something about it if necessary A curve is necessary if the average ofthe scores for that exam is below 75. lf a curve is necessary, add the curve to the test scores and report the curve (if no curve, necessary report that as well) 20 points) Determine if there needs to be homework extra-credit offered Extra credit is necessary if and only if the average of a non-zero homeworks for all students is less than 75 If extra-credit is necessary, determine how much (75-average) 2 and offer it. You should assume at only some people will do it, so add to everyone's last homework a random amount of extra credit between 0 and (75-average) 2 If extra-credit was necessary, report how much was offered, otherwise report none was necessary (20 points) Report the results of the simulated class! Calculate the final grade for each student using the grading ofthis class (15% for exam1, 25% for exam2, 30% for exam3) and 30% for the homework average Report the final score for each student on its own line similar to: LastName, FirstName: SCORE Print a blank line and then report the frequency (percentage using of each final grade in the class. Hint: Determine how many of each grade and divide that by the number of grades (100) and then multiply by a 100 (percentage Name your file: ClassSimulation.java
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
