Parallel Arrays As part of ‘Teach for America’, you have been recruited to teach in a remote Appalachian community. To help analyze students’ performances on an assessment exam, you must write a program that displays each student’s name and then prompts you for that student’s test score. The program will calculate the class average (mean) as well as the deviation of each student′s test score from the mean (the students score minus the average). Finally your program will display the student’s name, his test score, and the deviation from the mean in a readable well-organized format. Currently there are seven students in your class named: Bashful, Doc, Dopey, Grumpy, Happy, Sleepy, and Sneezy. Program Specifications: This program will require you to create 3 parallel arrays, one for the students’ names (data already supplied), one for their test scores (to be read-in from the keyboard), and one for their score′s deviation from the mean (which you will calculate). Create five separate methods to do the following: Display instructions to the user explaining what the program will do and what they are expected to provide in the way of input. Read in the test score from the keyboard and store it into an array. Then return the array to the calling program (this is a value-returning method). Compute the class average (mean) of the test scores and return it to main where it will be later printed to the screen in the display method below. Note this is a value returning method. Compute the deviation from the mean for each student′s score and store it into an array. Then return the array to the calling program where it will be later printed to the screen in the display method below (this is a value-returning method). Display the output in 3 well-aligned columns as presented below. SAMPLE RUN with OUTPUT: This program will read-in test scores for a class of seven students and compute the deviation of each test score from the mean. Each student′s name and test score will be displayed along with the computed deviation from the mean. Please enter student test scores: Enter Doc’s score: 90 Enter Grumpy’s score: 50 Enter Happy’s score: 70 Enter Sleepy’s score: 40 Enter Dopey’s score: 30 Enter Sneezy’s score: 60 Enter Bashful’s score: 80 The average of the scores is 60.0 Name Grade Mean Deviation Doc 90 (30) Grumpy 50 (-10) Happy 70 (10) Sleepy 40 (-20) Dopey 30 (-30) Sneezy 60 (0) Bashful 80 (20) Recommendations for the Simplest Approach: Although there are a variety of ways this problem could be implemented in Java, the most straightforward way to approach it (based on what you have learned thus far) is to create 3 parallel arrays (one array for the student names, one for their scores, and one for the deviations from the mean). A) Set these 3 arrays up in your main method. B) Then declare, instantiate, and initialize the names array with the names of the seven students provided above in the problem desсrіption. C) Create five separate methods to (1) Explain the purpose of the program and provide instructions (2 input the scores for each student, (3) to compute and return the average, (4) to calculate and fill the array for the deviation calculation, and (5) to display the output. Please pass any needed arrays (declared in main) into your methods via the parameter list. (You are not required to set up the output in an actual table format, but just be sure to align columns so that the output is well-organized, aligned, and easily readable.) The java source code for your program (do not forget documentation(comments), both prologue and inline comments.
- Use the internet to investigate Russian and American cooperative involvement with the International Space Station. What have both countries contr
- Name and describe at least two non-traditional healing systems Discuss the interface between religion and mental health Religion, Healing and
- Watch and annotate the videos of one peer as assigned by your instructor on InTASC Standards 1, 2, and 3 of the Clinical Practice Rubric. * Use t
- Discuss some of the elements in women?s approach to power, negotiation, and risk-taking that may lead to them earning less than men in similar jo
- Explain how your organizational design and culture could be implemented at your workplace or organization. Explain how your design will improve
- You need to develop a specific activity that is for the vignette that you chose. You also have to list all the rules, all the consequences, and all the materia
- The student will provide a description of the administration, logistics, and planning for a sport ministry project of the student?s choice. The portfolio must
- For this assignment, you have just been hired as the new Head Coach (of your particular sport) at Amos University! First…Your Bad News You have inherited a t
- The CEO of your organization wants to improve employee morale. Recently, she went to a conference at which she heard people talking about ?open-book management
- Maya has just been hired as the chief executive officer (CEO) to turn around Phoenix Solutions, a once-thriving tech company now struggling with declining reve
