Java Question

GEIT 1411 : Computer Science I Assignment 4 This assignment is about Arrays (Chapter 7). Declare the following array in the main() method of your Java program: double examScores[]={31,87.5,56,88,47,71.5,67.8,90,45,62}; Your task is to calculate and display the standard deviation (SD), rounded to 2 decimal places, of the exam scores. The SD can be calculated as follows: 1. Work out the Mean (the simple average of the numbers) 2. Then for each number: subtract the Mean and square the result. 3. Then work out the mean of those squared differences. 4. Take the square root of that and we are done! If you follow these steps, the SD for the exam scores should be 19.18. As an example, assume we would like to calculate SD for these numbers:1,3,5,2,9. Referencing the steps above: 1) Mean=(1+3+5+2+9)/5=4 2) (1 − 4)2 +(3 − 4)2 +(5 − 4)2 +(2 − 4)2 +(9 − 4)2 =9+1+1+4+25=40 3) Mean= 40/5=8 4) SD=sqrt(8)= 2.83 (rounded to 2 decimal places) As usual, submit your Java program and a screen shot of testing your program. 1

Java Question

We offer the best custom writing paper services. We have answered this question before and we can also do it for you.


We offer the bestcustom writing paper services. We have done this question before, we can also do it for you.

Why Choose Us

  • 100% non-plagiarized Papers
  • 24/7 /365 Service Available
  • Affordable Prices
  • Any Paper, Urgency, and Subject
  • Will complete your papers in 6 hours
  • On-time Delivery
  • Money-back and Privacy guarantees
  • Unlimited Amendments upon request
  • Satisfaction guarantee

How it Works

  • Click on the “Place Order” tab at the top menu or “Order Now” icon at the bottom and a new page will appear with an order form to be filled.
  • Fill in your paper’s requirements in the "PAPER DETAILS" section.
  • Fill in your paper’s academic level, deadline, and the required number of pages from the drop-down menus.
  • Click “CREATE ACCOUNT & SIGN IN” to enter your registration details and get an account with us for record-keeping and then, click on “PROCEED TO CHECKOUT” at the bottom of the page.
  • From there, the payment sections will show, follow the guided payment process and your order will be available for our writing team to work on it.