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
Andreyy89
3 years ago
10

You are given a list of students names and their test scores. Design a pseudocode that does the following:(a) Calculates the ave

rage test scores.(b) Determines and prints the names of all the students whose test scores are below the average test score.(c) Determines the highest test score.(d) Prints the names of all
Mathematics
1 answer:
Rashid [163]3 years ago
4 0

Answer:

List_of_students = {};    //Structure array that contains the scores of students and Names

Number_of_students = size(List_of_students);

Average_score ;   //Variable Stores average score

Below_Average = [];   //That is initially filled with zeros  

Highest_score ; //Initialize variable to store highest score

for ( i = 0 ; i < Number_of_students; i = i + 1)

{

      Average_score  = Average_score + List_of_students(i);    

     if ( i = 15)

      {

        Average_score  = Average_score / Number_of_students;

      }

}

for ( j = 0; j < Number_of_students ; i = i + 1)

{

    if (   List_of_students(j)  < Average_score)

     {

         print( "student  %name got %score , List_of_students(j),          List_of_students(j) )

     }

}

Compare_Score = 0;   //Variable to compare score

for ( k = 0; K < Number_of_students; k = k+1)

{

     if ( List_of_students(k) => Compare_Score)

    {

        Compare_Score = List_of_students(k);

    }

}

Highest_Score = Compare_Score;

Step-by-step explanation:

You might be interested in
Sammy has 20 cookies what is 20 rounded to the nearest ten
Kobotan [32]
If I'm understanding this correctly 20 rounded to the nearest ten would be 20
5 0
3 years ago
Read 2 more answers
2. A teacher buys 144 erasers for her class. She gives each child an equal amount. There are 24 students in the class. How many
postnew [5]

Answer:

They each got 6 erasers.

Step-by-step explanation:

Sorry If I am wrong.

6 0
2 years ago
Read 2 more answers
Can yall help me with the second part Pls
miskamm [114]

Answer:

Step-by-step explanation:

Total money raised = 658 + 95.60 = $ 753.60

donated to each charity = 753.60/12 = $62.80

7 0
3 years ago
Choose the number that has a 5 with a value 10 times less than the value of the 5 in the number in 54,271
Zigmanuir [339]
The answer is 500,000 because you have add a zero sense it's times 10
6 0
3 years ago
Which equation matches the graphed line? <br><br> A. Y= -2 <br> B. Y= -2x<br> C. X= 2 <br> D. X= -2
igomit [66]

Answer:

the correct answer is a

6 0
3 years ago
Read 2 more answers
Other questions:
  • The amount of rainfall in january in a certain city is normally distributed with a mean of 4.3 inches and a standard deviation o
    11·1 answer
  • Which description is the basis of proof that sin^2 x + cos^2 x= 1 ?
    14·1 answer
  • Please HELP ME!!! Write an equation and solve it the answer choices are down below thank you!!!
    8·1 answer
  • Simplify negative 4 and 1 over 4 − negative 9 and 1 over 2.
    10·1 answer
  • HELP PLEASE ASAP
    13·1 answer
  • ASAP<br> -WILL MARK BRIANIST
    11·2 answers
  • How to put -2(-6x+3y-1) in distributive property
    6·1 answer
  • PLEASE HELP FAST!!!!!
    12·1 answer
  • HELP PLS i need HELP PLSSSS
    8·2 answers
  • What is the value of x in the equation 1/5x-2/3y=30, when y = 15?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!