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]
2 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]2 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
40x + 44 = 38x + 44<br>​
Mila [183]

Answer:

x = 0

Step-by-step explanation:

40(0) + 44 = 38(0) + 44

44 = 44

When x = 0 the equation is true

8 0
3 years ago
Read 2 more answers
A city received 18 inches of rain during the first 3 months of the year. If it continues to rain at this rate, how many inches o
Elza [17]

Answer:

72

Step-by-step explanation:

im pretty sure you just have to do 18*4

4 0
2 years ago
Read 2 more answers
Please help me I will give you a Brainly
d1i1m1o1n [39]

Answer:

I would be y

Step-by-step explanation:

sorry if it is wrong

3 0
2 years ago
Which term describes the variable y in the expression yn?<br> A.Product B.Factor C.Base D.Exponent
grigory [225]
If the expression is: yⁿ
then y is the Base.

If the expression is: yn
then y is the product.
5 0
3 years ago
WRITING TO EXPLAIN, HOW COULD YOU USE 5 X 6 =30 TO FIND THE PRODUCT <br> OF 6 X6 ?
Solnce55 [7]
5x6=30
6x6=36

You would need 1 more 6
I can't explain this very well, sorry.
8 0
3 years ago
Read 2 more answers
Other questions:
  • Gary's stock dropped 3 points in every value for 4 days. Find the integer that represents the change in value of his stock durin
    14·2 answers
  • The difference between two positive integers is 4. If the smaller is added to the square of the larger, the sum is 68. Find the
    10·1 answer
  • Does anyone know how to solve (2 Times x) + 5 =31
    8·2 answers
  • Define the type of sequence below.
    9·2 answers
  • Which statements are true of all squares? Check all that apply. (Choose more than one)
    15·2 answers
  • You are in “Car Parts USA” buying some headlight bulbs. The original price is $19.99, but you have a coupon for $6.00 off. What
    9·1 answer
  • out of 400 vehicles that passed the intersection 98 are buses what percent of the vehicles that passed and intersection are buse
    11·1 answer
  • Place the following fractions in order, smallest to biggest. Show your working. 2/5 3/5 7/10 31/50
    6·1 answer
  • Simplify 4x^3-3x^2+ x +3x^3
    8·1 answer
  • Please help
    9·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!