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
The ratio of boys to girl in a certain class is 4:7. if there are 33 students in the class, how many of them are girls.
Elden [556K]
Your answer is that 21 are girls
7 0
3 years ago
A pair of shoes costs $109 at Sneaker City. At the labor Day sale, they are 20% off. What is the
Alik [6]

Answer: $108.8

Step-by-step explanation: you do 109.00-20% and you get 108.8

8 0
2 years ago
How can properties help me divide?
mariarad [96]
Properties can help you divide because if you didn't follow them we would have incorrect answers and would be very held back in science and mathematics
8 0
3 years ago
The graph of g(x) is a reflection and translation of<br> f(x) = ³√x.
Kipish [7]

g(x) =  -  \sqrt[3]{x - 1}

3 0
2 years ago
Read 2 more answers
What is the measure of angle x?
tankabanditka [31]

Answer:

could you upload a picture?

Step-by-step explanation:

7 0
2 years ago
Other questions:
  • Which is the graph of x – y = 1
    15·1 answer
  • Can you please help me with number one and number 2 thank you
    12·2 answers
  • Which number rounds to 4.3 when rounded to the nearest tenth?
    7·1 answer
  • Calculate the distance between (-2 - 5i) and (1 + 3i)
    8·1 answer
  • A membership to Movie Night Movie Club costs $10, plus $2 per movie. y = 2x +10. Use x-values: 0, 5, and 10.
    15·2 answers
  • What is the product of 1.508 x 0.7
    15·2 answers
  • True or false, an equation with an integer coefficient will always have an integer solution.
    14·2 answers
  • appoint a planning committee with five different members. There are 14 qualified​ candidates, and officers can also serve on the
    7·1 answer
  • From a horizontal distance of 80.0 m, the angle of elevation to the top of a flagpole is 18 degrees. Calculate the height of the
    6·1 answer
  • Write a two-column proof in your journal, upload the image, and submit to your teacher.
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!