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 bike store marks up the wholesale cost of all of the bikes they sell by 30%.
Dmitrij [34]

Answer:

Suppose that the wholesale of a bike is A (A is the 100% in this case). If we have an increase of 30% for the sale price, we have the new price of:

Price = A + (30%/100%)A = A + 0.3*A = (1.3)*A

Then if we know that the price tag of the bike is $125, then we have:

$125 = (1.3)*A

$125/1.3 = A = $96.15

The wholesale cost of the bike is $96.15

6 0
3 years ago
Read 2 more answers
The figure shows a blueprint of a dining room, kitchen, and living room. Each square has a side length of 1/4 inch. Hardwood flo
scoray [572]

Answer:

there is no attachment

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
Food brand names suggest 4 or more
Ilia_Sergeevich [38]
Heinz,Pepsi,Coca-Cola,Kitkat
8 0
2 years ago
Read 2 more answers
Which property is illustrated by the following statement <br><br> 2x (6) = (6) 2x
igomit [66]

the answer to it is 24X squared but the answer to your question is both are ok they both give u 12X which is 24X squared the way u wrote it lol

4 0
4 years ago
<img src="https://tex.z-dn.net/?f=%20%5Cfrac%7B6%7D%7B3%20%2B%2011i%7D%20" id="TexFormula1" title=" \frac{6}{3 + 11i} " alt=" \f
Lorico [155]

(3+11i)/(3+11i)=1

So that means you can multiply 6/(3+11i) by (3+11i)/(3+11i)

Then 6(3+11i)/1

= 18+66i

7 0
3 years ago
Other questions:
  • 19 question find the solution of. Y = 6× + 1 for x = 5
    9·1 answer
  • Choose the angle whose measure is greater than 90 degrees but less than 180 degrees.
    10·1 answer
  • What is the value of k? 2k+9=7−3k
    7·2 answers
  • If 3000000 is invested at 6% interest compounded continuously how much will the investment be worth in 35 years
    14·2 answers
  • What is the Equation of a line that has a slope<br> of -3 passes to the point (4,-5)
    8·2 answers
  • A sprinter ran 100 meter dash in 10.92 seconds. What was the sprinters speed in miles per hour
    6·2 answers
  • point M with coordinates (3,4) is the midpoint of the line AB and A has the point (-1,6). what is the point of B?
    14·1 answer
  • Can someone please answer this worksheet for me. I would be really thankful if you do so. ​
    9·1 answer
  • What is the slope of the line? Type fractions as y/x).
    15·1 answer
  • Use the conditional statement to answer the question.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!