1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Viefleur [7K]
3 years ago
13

You are given a list of students' names and their test scores. Design an algorithm that does the following: a. Calculates the av

erage test scores. b.
Mathematics
1 answer:
sertanlavr [38]3 years ago
5 0

Answer:

Complete Question

a. Calculates the average test scores.

b. Determines and print the names of all the students whose test score is below the average test score.

c. Determines the highest test score.

d. Prints the names of all the students whose test score is the same as the highest test score.

Input N; //N represents number of students

Students_Names = {};

Students_Scores = {}

Average = 0

For I = 1 to N

Input Students_Names[I]

Input Students_Scores[I]

Next I

//Calculate Average Test Score

j = 0

Do

Average = Average + Students_Scores[j]

j = j + 1

While (j<N)

Average = Average/N

Print Average.

k = 0

//Print below average

Do

If(Students_Scores[k] < Average)

Print Students_Names[k] + " score is "+ Students_Scores[k]+ " and it is below average"

k = k+ 1

While (k<N)

Highest_score = 0

m = 0

Do

If(Students_Scores[m] > Highest_score)

Highest_score = Students_Scores

m = m+1

While (m<N)

Print "Highest Score is" + Highest_score

n = 0

Do

If(Students_Scores[n] == Highest_score)

Print Students_Names[n] + "has the same score has the highest score"

n = n+1

While (n<N)

        Compare_Score = List_of_students(k);

    }

}

Highest_Score = Compare_Score

Read more on Brainly.com - brainly.com/question/13058173#readmore

You might be interested in
World Toy buys bicycles for $40 and sells them for $95. What is the percent mark-up in the price?
Arisa [49]

Answer:

57%

Step-by-step explanation:

4 0
3 years ago
Close Review Print Review
lara31 [8.8K]

Answer:

39 = r-13

Step-by-step explanation:

5 0
3 years ago
I will be back to help everyone bye,vale,adios i forgot how to say it in french
kupik [55]

Answer:

Huh I am confused

Step-by-step explanation:

Do you need help with anything

4 0
3 years ago
Read 2 more answers
What is the exponents <br>​
zmey [24]
The exponent of a number says how many times to use the number in a multiplication.

For Example, In 8² , the 2 is the number of times 8 has to be multiplied. In this case It has to multiplied by itself 2 times, 8x8 = 64 so 8² = 64.
Another example is 9³ since the number above is 3 we have to multiply 9 three times, 9x9x9 = 729 which means 9³ = 729.

Hope this helps
3 0
3 years ago
Round 12.5478 to the nearest hundredths
solong [7]

Answer:

12.04

Step-by-step explanation:

Find the number in the hundredth place  4  and look one place to the right for the rounding digit  1 . Round up if this number is greater than or equal to  5  and round down if it is less than  5 .

6 0
3 years ago
Other questions:
  • A random sample of 8888 eighth grade​ students' scores on a national mathematics assessment test has a mean score of 278278. Thi
    13·1 answer
  • 24.2 rounded to the nearest tenth
    13·2 answers
  • A store buys an item for $50 and marks it up 100%. What is the price?
    15·2 answers
  • A gym teacher orders 42 tennis balls. Each package contains three tennis balls. Which of the following equations represents the
    12·1 answer
  • What is the additive inverse of the complex number 9 - 4i
    8·1 answer
  • How many liters of water have been pumped into the tank from t=0 to time=55?
    10·1 answer
  • Please helppp due in 10 minutesss!!!
    12·1 answer
  • It took 5 builders 3 and a half hours to build a wall
    12·2 answers
  • Multiply 0.035 times a power of ten so that the product is greater than 1, but less than 100. Write the expression.
    11·1 answer
  • 3 T-shirts cost $12. How<br> much will 50 T-shirts<br> cost?
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!