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 value of the y in te equation y-13=57
12345 [234]
70 because 70 - 13 = 57
5 0
3 years ago
Read 2 more answers
2/5gal fill up 3/4 of a tank how many gallons will it take
Olin [163]

Answer:

8/15 gallons or 0.5333 gallons

Step-by-step explanation:

x = total

0.4 = 0.75x

0.4/0.75 = x

0.533 = x

0.533 = 8/15

5 0
3 years ago
The Gaineys and the Arnolds are saving money for a trip to Utah to go snowboarding. The Arnolds are going to save a nickel on th
natali 33 [55]

Answer: see Explanation

Step-by-step explanation:

THE GAINEY'S:

Recursive Formula :

A1 = $10

An = An-1 + $10

A2 = $10 + $10 = $20

Where n = day of the month

Explicit formula :

y = a + b(c - 1)

WHERE:

y = final amount

initial amount = a

Increment on initial amount = b

Day of the month = c

THE ARNOLD'S :

Recursive formula:

First day of the month (A1) = $10

An = 2(An-1)

A2 = 2(A1) = 2(10) = $20

A3 = 2(A2) = 2(20) =$40

Explicit formula:

y = a(b)^c

Where :

y = final amount

initial amount = a

Increment on initial amount = b

Day of the month = c

5 0
3 years ago
Raghav has to load 2456 cartons of apples equally in 5 trucks. how many cartons will be left unloaded in the end?​
zlopas [31]

Answer:

12,280

Step-by-step explanation:

just do 1456×5 :))

7 0
2 years ago
Graph the linear equation to find three points that solve the equation then plot on the graph negative -x -4y =-18​
Eddi Din [679]
X
=
18
−
4
y good luck buddy
7 0
3 years ago
Other questions:
  • What is the side of squire room whose area is 144sq.m ?
    8·1 answer
  • Find the measure of stv in the figure
    9·2 answers
  • Find r(t) if r'(t)=ti+e^tj+te^tk and r(0)=i+j+k
    8·1 answer
  • Can someone please help me ASAP
    5·1 answer
  • Find m(angle) ABC<br><br>21 <br><br>132<br><br>48<br><br>19
    12·2 answers
  • BINOMIAL MULTIPLICATION<br> 1. (2x + 1)(x + 3)
    14·1 answer
  • Which equation represents 4x – 3y = 15 when solved for y
    6·1 answer
  • Plz can someone help me im really stuck​
    10·1 answer
  • What math do high schoolers learn? Do they only learn trigonometry, geometry and equations?
    15·2 answers
  • Please help me I will give a brainless
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!