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
2x - 18x + 14y - 19<br> Is it equivalent
jek_recluse [69]

Answer:

Step-by-step explanation:

You can simplify this by collecting the like terms. The only like terms are the pair 2x and 18 x

2x-18x = -16x

Now, put them back together,

-16x + 14y-19

4 0
3 years ago
Read 2 more answers
Ellipse with vertices (0,+6) and passing through the point (2,2) what is the equation ​
Eddi Din [679]
The equation is Y=-2x+6
6 0
3 years ago
At the end of the summer a store marks down the outdoor furniture 8% a family bought 4 chairs in June at 35$ each then 2 more ch
frosja888 [35]

Answer:

$204.4

Step-by-step explanation:

The four chairs bought in June cost $35 each, all together $140. Then they bought 2 more chairs on sale for 8% off of $35 each or 92% of $35 which is $32.2 each, all together $64.4. Both buy's together would then equal $204.4

7 0
3 years ago
A hole is poked in a balloon so that every minute the balloon loses 3/10ft 3 of air. What is the total change in the number of c
GaryK [48]
5/9 minutes

amount lost=times times amout lost per unit of time
amount lost=5/9 times 3/10
amount lost=15/90
amount lost=5/30
amount lost=1/6

answer is 1/6 ft³ of air
6 0
3 years ago
Given m ||n, find the value of x <br> 167°
frutty [35]

Answer:

13

Step-by-step explanation:

180-167= 13

× = 13 degrees

7 0
2 years ago
Other questions:
  • The number of hours per week that high school seniors spend on computers is normally distributed, with a mean of 6 hours and a s
    11·1 answer
  • A class is listing things that come in fives. Some of the things on the list are: points on a star, players on a basketball team
    7·1 answer
  • URGENT HELP PLEASE: Which of the following statements proves ∆DCG~∆FED? Select all that apply. (see photo)
    5·1 answer
  • Please help w/ this question <br><br> image attached
    8·1 answer
  • Please help me I will give you the brain thing and extra points. (image below) 4/30
    11·1 answer
  • Need help with the picture above:
    7·1 answer
  • The College Board conducted research studies to estimate the mean SAT score in 2016 and its standard deviation. The estimated me
    12·1 answer
  • Someone help me pls
    6·2 answers
  • If the mean of m,n,s,p and q is 12. Calculate the mean of (m-4), (n-3 ),(s-6), (p-2) and (q-8).​
    10·1 answer
  • (PLEASE HELP) The height of a plants increase in the ratio 4 : 6. The height at present is 280 cm, what is new height?
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!