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
Gabriela asistió al buen fin y compró a crédito un refrigerador de $8,500.50, un televisor de $3,500.50, una computadora de $6,9
vazorg [7]

Answer:

23,999

Step-by-step explanation:

Un refrigerador de $8,500.50

Un televisor de $3,500.50

Una computadora de $6,900.00

Una lavadora de $4,999.00

8,500.50 + 3,500.50 + 6,999.00 + 4,999.00 = 23,999.00

7 0
3 years ago
If there are 7,674,000,000 people in the world and 80,000 of them have a Reh, what is the probability at least one person has a
9966 [12]

Answer:

its not 80k/3000 someone answer

Step-by-step explanation:

3 0
3 years ago
I WILL GIVE 20 POINTS TO THOSE WHO ANSWER THIS QUESTION RIGHT NOOOO SCAMS AND EXPLAIN WHY THAT IS THE ANSWER
Akimi4 [234]

Answer:

294 inches squred

Step-by-step explanation:

3 x 10 = 30

3 x 9 = 27

10 x 9 = 90

2(30) + 2(27) + 2(90) = 294

7 0
2 years ago
Assessment items Diana is constructing a regular hexagon inscribed in a circle. She begins by drawing a line and labeling a poin
andreyandreev [35.5K]

your options are Put the point of the compass on point B and the pencil point on point C. With the compass point still on B, draw two arcs that intersects the circle with center A.

Use a straightedge to join the four points where the circles intersect.

Draw and label the points where the circles with centers A and B intersect and where the circles with centers A and C intersect.

Put the point of the compass on point B and the pencil point on point C. Using this compass width, put the compass point on A and draw another circle.

5 0
3 years ago
The equation L= 4m+25 and H= 9m+41 represent the number of LA Lakers shirts, L, and the number of Miami Heat shirts, H, sold in
Pavlova-9 [17]

Answer:

Step-by-step explanation:

4 0
3 years ago
Other questions:
  • What is the best way to convert metric units (I'm really bad at this...)
    15·1 answer
  • 2 1/2 divided by 1/10?? <br> 5 divided by 1/10?? quick please help me!!!
    13·2 answers
  • Which is longer 2 feet or 30 inches
    5·2 answers
  • HELP ! PLEASE <br><br> examine the system of equations.
    15·1 answer
  • What is the slope of the line through the points -4,7 and -8,8
    14·1 answer
  • Three out of four students at middle school ride the bus if there are 640 students at middle school how many students ride the b
    5·1 answer
  • 0.847 times 3.54<br> What does it equal
    6·2 answers
  • I don’t know if I did this correctly. Please help !!!!!! Will mark Brianliest !!!!!!!!!!!!! URGENT !!!!!!!!!!!!!!!!!
    13·1 answer
  • Pls help and hurry NO LINKS
    6·1 answer
  • How do you solve a proportion divide or multiply there is a quiz!!!!!! you'll get brainliest!!!​
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!