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
Which of the lines below is parallel to a line with a slope of 3 and a y-intercept at (0, 3)?
Dmitrij [34]

Answer:

\displaystyle line\:HJ

Step-by-step explanation:

\displaystyle y = 3x + 3

The descryption gives you the above <em>Slope-Intercept Equation</em>. Parallel equations have SIMILAR <em>RATE</em><em> </em><em>OF</em><em> </em><em>CHANGES</em><em> </em>[<em>SLOPES</em>], therefore \displaystyle 3 remains as is, and perfourming \displaystyle \frac{rise}{run}, will give you that answer.

I am joyous to assist you at any time.

6 0
2 years ago
Evaluate the function at the given value and simplify.
Licemer1 [7]

Answer:

The correct option is b.

Step-by-step explanation:

The given function is

f(x)=-5x+1

We need to find the value of f(-2). It means we have to find the value of given function at x=-2.

Substitute x=-2 in the given function to find the value of f(-2).

f(-2)=-5(-2)+1

On simplification we get

f(-2)=10+1

f(-2)=11

The value of f(-2) is 11. Therefore the correct option is b.

8 0
3 years ago
What is the volume of the prism?
Aleks04 [339]
The answer is 1080 hope this is helpful
4 0
3 years ago
Read 2 more answers
Volume of a cylinder 100ft width 40ft height
Romashka-Z-Leto [24]

Answer:

0.89 FT

Step-by-step explanation:

8 0
2 years ago
Can someone please please please help with this problem preferably by the end of today? (later is fine too tho)
V125BC [204]

Answer:

Add all of the items, then multiply by 5

Step-by-step explanation:

Why by 5? Well, in order to make

5 cookies per player one batch would be made

so, 10 cookies pp = 2 batches

15 cookies pp = 3 batches

20 cookies pp = 4 batches

and then you would need 4 more to make 2 dozen, so you would then make another batch and have a few extra, but you would have 2 dozen per player!

hope this helps!!

3 0
2 years ago
Other questions:
  • The answer please please
    7·1 answer
  • Ilsym!!!!! help thanks so much
    14·2 answers
  • Find w(4) for the function w( x ) = 3x + 7<br> A. 41<br> B. 33 <br> C. 14 <br> D. 19
    7·1 answer
  • What is the total cost of a $720 ipad that is on sale at 15% off if the local sales tax is 6%
    8·1 answer
  • Can someone help me out please!
    13·1 answer
  • Scientists discovered an unknown planet 265,000 light years from Earth. A light year is about 5,880,000,000,000 miles.
    8·2 answers
  • Marcus is rewriting a polynomial by combining like terms. Which terms does he still need to combine to finish rewriting the poly
    13·1 answer
  • what is the perimeter measured in centimeters of rectangle picture below do not include units in your answer​
    9·1 answer
  • Appreciate all the help :)<br> Which matrix multiplication is defined?
    9·1 answer
  • Ill give brainliest to first right answer!
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!