444,472 views
21 votes
21 votes
On an algebra quiz, 10% of the students scored 70 points, 35% scored 80 points, 30% scored 90 points, and the rest scored 100 points. What is the difference between the mean and median score of the students' scores on this quiz?

User Fortisimo
by
3.1k points

2 Answers

10 votes
10 votes

Final answer:

To find the difference between the mean and median score, calculate the mean by multiplying each score by its corresponding percentage, summing up these products, and dividing by 100. Then, arrange the scores in ascending order to find the median. Finally, subtract the median from the mean to get the difference.

Step-by-step explanation:

To find the difference between the mean and median score, we first need to calculate the mean and median. Given that 10% scored 70, 35% scored 80, 30% scored 90, and the rest scored 100, we can calculate the mean by multiplying each score by its corresponding percentage, summing up these products, and dividing by 100. The median score is the score that falls in the middle when all scores are arranged in ascending order. After calculating the mean and median, we can find the difference between them.

Let's calculate the mean:

Mean = (10/100) * 70 + (35/100) * 80 + (30/100) * 90 + (remaining percentage) * 100

Next, let's find the median by arranging the scores in ascending order:

70, 80, 80, 80, ..., 90, 90, 90, ..., 100

After finding the mean and median, subtract the median from the mean to get the difference.

User Xmkevinchen
by
3.3k points
12 votes
12 votes

Answer:

int(); points are entered as whole numbers

I took the test, it was right my guy

Step-by-step explanation:

scoreA = float(input("What was team A's score?"))

scoreB = float(input("What was team B's score?"))

pointsDifference = scoreA - scoreB

There is an error in the code. Which function should be used, and why?

float(); points require decimals

int(); points are entered as whole numbers

print(); points are printed on scoreboards

str(); points are fixed, so no calculation is necessary

User Doctopus
by
2.9k points