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
What is the slope of the line that passes through the points (-2, 6) and (4, - 2)?
Irina-Kira [14]

Step-by-step explanation:

slope(m)= y2-y1/x2-x1

-2-6/4+2

= -8/6

= -4/3

6 0
3 years ago
Read 2 more answers
Interpret the following Sigma Notation<br> n=152n
lora16 [44]
Okay so basically the answer would be
-8305
And in this form it would be
-151 + -302 + -435 -604 -755 + -906 + 1057 +-1208 + -1359 + 1510
8 0
3 years ago
Given g ( x ) = 2 x + 3 , solve for x when g(x)=3.
padilas [110]

Answer:

x = 0

Step by step explanation:

g ( x ) = 2x + 3

If x = 0,

g ( 0 ) = 2 (0) + 3

or, g ( 0 ) = 3

<em>Hope that helped :)</em>

8 0
3 years ago
Can someone help me
Sphinxa [80]
I think it’s 6 units
5 0
3 years ago
Divide 5.6 by 0.7 the quotient is what ?
rjkz [21]
The answer for this is 8.
7 0
3 years ago
Read 2 more answers
Other questions:
  • Mark pulled weeds from the garden for 10 more minutes than Ted.
    11·2 answers
  • 100 - 10x = 40 *<br><br> a X = 6<br> b X = 7<br> c X = -6<br> d X = 5
    12·2 answers
  • I don't quite get 4.
    14·2 answers
  • The coefficient in the expression 3x - 5 is​
    9·2 answers
  • PLEEAAASE HELPPPPP<br><br>Distance = ________ x time<br><br>A. flow<br>B. rate<br>C. work​
    11·2 answers
  • Find the product: Negative 4 over 9 and Negative 3 over 8.
    10·1 answer
  • The theater has 9 chairs in a row and there are 4 rows there are 36 chairs and for an upcoming show, the theater needs to have 4
    5·1 answer
  • Identify the dividend.<br> 35 ÷ 5 = 7<br> A. 35<br> B. 5<br> C. 7
    15·2 answers
  • solve each triangle described below round measures of sides to the nearest tenth and angles to the nearest degree a=14 c=20 b=38
    6·1 answer
  • Which measure of spread is best for the data in the table?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!