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
Simplify the following 2(×+8k)+2k=​
omeli [17]

Answer:

2x + 18k = X= -9k

Step-by-step explanation:

you have to solve the rational equation by combining expressions and isolating the variable x.

5 0
3 years ago
Results of a poll stated that 40% of U.S. adults identify as Republican, and you want to test the claim at alpha = 0.05. What le
Nookie1986 [14]

Answer:

The confidence level is 95% or 0.95.

Step-by-step explanation:

Consider the provided information.

Results of a poll stated that 40% of U.S.

If you want to test the claim at alpha = 0.05.

As we know:

Confidence level = 1 - significance level (\alpha)

Confidence level = 1 - 0.05

Confidence level  = 0.95

Therefore, the confidence level is 95% or 0.95.

4 0
3 years ago
In 1850, a person sold a house to a lady for $30. If the lady had put the $30 into a bank account paying 4% interest, how much w
jekas [21]
30$ profit each person of connect
7 0
4 years ago
What is the answer to 1\3×=12
Alexeev081 [22]
The answer to your question is 36

7 0
3 years ago
Find the value of the expression.
Jlenok [28]

Answer:

according to your question it should be 3.00x 10^18 which is not a choice

5 0
3 years ago
Other questions:
  • At this same time in 2010, 78% of people said they went out dancing at least one night a month. Recently, this number has increa
    9·2 answers
  • Find the vertex of the parabola formed by the following quadratic function: y = 3x^2 – 6x + 2
    15·1 answer
  • Urgent help! 40 points!
    14·2 answers
  • When h has the value 8 calculate 5h -3?
    8·1 answer
  • A randomly generated list of integers from 1 to 5 is being used to simulate an
    5·1 answer
  • B=3/a+2 make a the subject​
    11·1 answer
  • The cost of g gallons of gasoline can be modeled by C(g) = 2.25g
    13·1 answer
  • Solve the system y=x-3 y=-2x+3
    14·2 answers
  • Keerthana buys a board game that costs $28. She pays 1.54 in sales tax. What is the tax rate she payed
    11·1 answer
  • Which expression is not equivalent to 8 · x · 2 · y?<br><br> 16yx<br> 8x + 2y<br> 16xy
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!