Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help pertaining this question 1. Ahmad is a very hardworking student. He aims to score 10 A+ for his coming SPM. Thus, he

image text in transcribed

I need help pertaining this question

1. Ahmad is a very hardworking student. He aims to score 10 A+ for his coming SPM. Thus, he always performs analysis for his results performance using statistical approach in order to improve his study. Table 1 shows Ahmad's results of each taken subjects. Suppose the values of subjects, scores and grades are stored in one dimensional array. Write a Java program that should be able to assist Ahmad in finding his total scores, subject with the lowest score, score's mean, score's median and grade's mode. The program should be able to produce output as shown in Figure 1. Hint: Mean is the average for scores Median is the middle value of a sorted list of scores. Use Arrays.sort in java.util.Arrays to sort the scores. Mode is the grade which appears most often. ili. Grade A+ A+ A+ A+ Subject Bahasa Melayu English Sejarah Islamic Education Additional Mathematics Mathematics Chemistry Physics Biology Table 1 Score 86.00 80.00 85.00 94.00 64.00 85.00 63.00 60.00 72.00 75.00 4- A+ B+ B+ Total Score: 763.0 Subject with Lowest Score: Physics Score Mean: 76.3 Score Median: 77.5 Grade Mode: A+ Figure 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database And Expert Systems Applications 33rd International Conference Dexa 2022 Vienna Austria August 22 24 2022 Proceedings Part 1 Lncs 13426

Authors: Christine Strauss ,Alfredo Cuzzocrea ,Gabriele Kotsis ,A Min Tjoa ,Ismail Khalil

1st Edition

3031124227, 978-3031124228

More Books

Students also viewed these Databases questions