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
I need help please.
Setler79 [48]
C. 

This model shows that he is making 9.50 an hour, which you can tell by the fact that it is going up by that much each hour. Also, when you subtract the one hour, you get his base of 50. 
3 0
3 years ago
A line passes through the point (4, –2) and has a slope of One-half.
Keith_Richards [23]

Answer:

a = -6

Step-by-step explanation:

The given line in point-slope form is y + 2 = (1/2)(x - 4).

Replacing x with -4 yields                   y + 2 = (1/2)(-4 - 4)  =  (1/2)(-8)

Then y + 2 = -4, and so y = -6, or a = - 6.

8 0
3 years ago
Read 2 more answers
Jill sold half her comics and then bought sixteen more. She now has 36. How many did she begin.
kodGreya [7K]

Answer: 10 I think

Step-by-step explanation: Jill sold half and you dont know how much it is you know that now she has 36, but before she bought 16 so 36 - 16 = 20 but she sold half

5 0
3 years ago
Read 2 more answers
A university offers 3 calculus classes: Math 2A, 2B and 2C. In both parts, you are given data about a group of students who have
ankoles [38]

Answer:

4 students

Step-by-step explanation:

The total number of students is given by:

|A|+|B|+|C|-|A\cap B|-|A\cap C|-|B\cap C| + |A\cap B \cap C| = N

Where N is the total number of students, A is the number of students that have taken Math 2A, B is the number of students that have taken Math 2B, and C is the number of students that have taken Math 2C:

|A|+|B|+|C|-|A\cap B|-|A\cap C|-|B\cap C| + |A\cap B \cap C| = N\\51+80+70-15-20-13 +  |A\cap B \cap C|  = 157\\ |A\cap B \cap C| =4

4 students in Group A have taken all three classes.

*The number of students that have taken two classes has be subtracted so those students do not get counted twice

4 0
3 years ago
A painter needs to buy a ladder in order to paint a wall that is 18 feet high. In order to ensure the ladder does not fall it ne
trapecia [35]

Answer:

222! thats your answer!

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • What is the sine ratio of angle E?<br><br> A - 5/3<br> B - 3/5<br> C - 5/4<br> D - 4/5
    5·2 answers
  • What does this mean? I do not understand
    10·1 answer
  • Graham's sunflower is 2 feet tall. Katie's sunflower is 1 foot 8 inches tall. How much taller is Graham's sunflower?
    14·2 answers
  • Tamara received a gift card with a $200 balance for her birthday she buy several video games for $45 each write an equation to h
    11·1 answer
  • In the U.S., from 2004−2015, the correlation coefficient for the relationship between the size of a cell phone data plan, x, and
    7·1 answer
  • Which expression is equivalent to (x+7)+3y
    13·1 answer
  • (5/12 divided by 3/4 )<br>please finde this..<br>this is 7th class question​
    11·1 answer
  • 3.75x - 1.5 = 40(Round your answer to the nearest tenth ​
    11·2 answers
  • Find the volume of the cube shown at the right. h=6in
    11·1 answer
  • -a(4a5 + 9a + 6)<br><br> Find the product and simplify the answer.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!