quiz حل الأسئلة الجامعية manage_search الأرشيف

تم الحل ✓
categoryبرمجة وتطوير البرمجيات schoolبكالوريوس event_available2026-07-14

السؤال

Transcribed Image Text:

Chapter 7: SAT Score Analysis Chapter 7: SAT Score Analysis You have been asked to analyze SAT scores (which may be 400-1600). You will be analyzing a population (a list) which consists of a number of samples (lists) of student scores. Here is the code to generate the population/samples: import random population=[] for i in range(5): sample= n = random.randint(5,10) for num in range(n): sample.append(random.randrange(400,1600)) population.append(sample) The analysis should be conducted as follows: ##calculate the total number of scores ##calculate the total value of all scores ##find the average score of the population ##print the total number of scores ##print the total value of all scores ##print the average of all of the scores ##while a sample has an average that is less than the ##average of all scores add a random value 1000-1600 ## to the sample until the average is no longer less than ## the average of all scores ##please note: this could result in lots of numbers ##being appended to the sample ##print the population ##adjust the population by ##removing the highest and lowest scores from each sample ##print the (adjusted) population ##calculate the total number of (adjusted) scores ##calculate the total value of all (adjusted) scores ##find the average score of the (adjusted) population ##print the total number of (adjusted) scores ##print the total value of all (adjusted) scores ##print the average of all of the (adjusted) scores

check_circle الجواب — حل مفصل خطوة بخطوة

hourglass_top