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
Use the Distributive Property to simplify the expression.<br> 8(5g+5−2)=
Vaselesa [24]
You multiply the number 8 to each term in the parentheses. 8 x 5g = 40g; 8 x 5 = 40; 8 x (-2) = -16 Combine these together and it would be 40g + 40 - 16
5 0
3 years ago
Read 2 more answers
Twenty two more than four times a number is less than 82
elena55 [62]
22+4*n-82 hope this is what u are looking for
7 0
3 years ago
Carolyn is building a pen for a dog. The PERIMETER of the pen is 52 ft. The material is sold by the yard. It is 10.99 dollars pe
Mazyrski [523]
     We know that the fence is 52 <em>feet</em> long, but since it's sold in yards, we need to somehow convert feet to yards.
     First, we need to find a little something called a conversion factor. Basically, we need to see what we can do to get from <em>one foot</em> to <em>one yard</em>. 
Well, how many feet are there in a yard? <em><u>3.</u></em><u /><u /> So now we know that <em><u>one foot is 1/3 of a yard.</u>
</em>     
So to convert 52ft to yards, we need to divide by 3. What's 52 divided by 3? 
17.33.
Now we just need to multiply that by 10.99 so that we can find out the cost.
We get 190.45. That's your answer!

It all cost <em>$190.45
</em>
<em>Don't forget to rate this answer the Brainliest!</em><em>

</em>
8 0
3 years ago
Use the slope to determine if lines AB and CD are parallel, perpendicular, or neither
ycow [4]
The slope of B is Q maybe
7 0
2 years ago
Sarah buys a new car for $26,500 and pays 3% down payment the terms of her loan 4.5% apr over 4 years. How much is her monthly p
Ber [7]

Answer:

i guess it's will be C

Step-by-step explanation:

4 0
2 years ago
Other questions:
  • Liz is a student in Ms. Xu's class. Liz says to her classmates, "Of all the pairs of students Ms. Xu can choose as class leaders
    15·1 answer
  • Which of the following points lie in the solution set to the following system of inequalities?
    12·1 answer
  • I'LL GIVE BRAINLIEST!<br> Simplify
    6·1 answer
  • Gitta is planning a birthday party.she has an $80 budget. Pizzas cost $5 each,2-liter bottles of soda cost $3 each,and delivery
    8·1 answer
  • I'd really appreciate and owe it back, lovelies.
    6·1 answer
  • Pls help my cousin I am too lazy to hep her PLSSSSS!!
    11·2 answers
  • Explain how to find vertical and horizontal asymptotes of a rational<br> equation.
    10·1 answer
  • PLSSSSSSS HELP ME WITH THESE FOUR QUESTIONS (•‿•)
    7·2 answers
  • Graph y = 2x + 3 A? B? C? OR D
    7·1 answer
  • The weights of a small box of healthy oats are normally distributed with a mean of 8.9 oz and a standard deviation of 0.1 oz. Fi
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!