answer.
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
2 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]2 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 equation is y = 3(x – 2)2 – (x – 5)2 rewritten in vertex form? Y = 3 (x minus seven-halves) squared minus StartFraction 27
densk [106]

Answer: y = 2 (x minus one-half) squared minus StartFraction 27 Over 2 EndFraction

or

y=2((x-\dfrac{1}{2})^2)-\dfrac{27}{2}

Step-by-step explanation:

Vertex form of equation : f (x) = a(x - h)^2 + k,where (h, k) is the vertex of the parabola.

y=3(x-2)^2-(x-5)^2\\\\=3(x^2+4-4x)-(x^2+25-10x)\\\\=3x^2+12-12x-x^2-25+10x\\\\=2x^2-2x-13\\\\=2(x^2-x-\dfrac{13}{2})\\\\=2(x^2-x+\dfrac{1}{4}-\dfrac{1}{4}-\dfrac{13}{2})\\\\=2((x-\dfrac{1}{2})^2-\dfrac{1+26}{4})\\\\=2((x-\dfrac{1}{2})^2-\dfrac{27}{4})=2((x-\dfrac{1}{2})^2)-\dfrac{27}{2}

Hence, the vertex form of the equation is y=2((x-\dfrac{1}{2})^2)-\dfrac{27}{2}

8 0
2 years ago
Read 2 more answers
Knowing that sin 30 = 1/2 what is a
natulia [17]

sin30^o=\frac{9}{a}\\\frac{9}{a}=\frac{1}{2}\\a=2\cdot9\\a=18

4 0
2 years ago
Read 2 more answers
Michelle is trying to buy a car that costs $35,550, and she has saved up $20,700. She borrowed the remaining amount that she nee
Dimas [21]

Answer: $ 4,515

Step-by-step explanation:

\\The cost of the car she wanted to buy = $35,550

\\Her savings = $20,700

\\That means she needs( $35,550 - $20,700) more in order for her to buy the car.

\\Amount borrowed from the finance company  = $35,550 - $20,700

\\= $ 14,850

\\Since she now owes the financial company a total of $19,365, then the interest accrued by the loan she borrowed is given by:

\\$19,365 - $ 14,850

\\= $4,515

7 0
2 years ago
A circle has a circumference of 153.86153.86153, point, 86 units.
mariarad [96]
Answer=24.49 I’m not 100% sure but I believe this is the answer :)
Hope it helps
3 0
2 years ago
Read 2 more answers
If 24= 2f+3f+f, find f​
VashaNatasha [74]

Answer:

6f = 24

f = 4

Step-by-step explanation:

3 0
2 years ago
Read 2 more answers
Other questions:
  • Which of the following could be the ratio of the length of the longer leg of a 30-60-90 triangle to the length of its hypotenuse
    15·2 answers
  • 40 students are going on a field trip to the aquarium. Every student needs to be in a group, and all groups must have the same n
    6·1 answer
  • Point B is in the interior of ∠AOC, m∠AOC = 108°, m∠AOB = 3m∠BOC. Find m∠AOB.
    13·2 answers
  • 16 tons 400 pounds divided by 5
    14·1 answer
  • Jessie's daughter went to Target and bought $1 or $2 items from the One Spot area. She wants to spend less than $20 at Target
    7·2 answers
  • The cost for traveling in tina's taxi is 9 pence per 100m
    13·1 answer
  • Caden has an offer to buy an item with a sticker price of $7400 by paying
    5·1 answer
  • Completed
    13·1 answer
  • At a football game, 69 out of 92 students were wearing the color red to support the home team. What percent of the students were
    14·2 answers
  • PLS HELP DUE SOON: (basically it's a retest) will give brainliest &lt;3
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!