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
Alyssa attends football games at her school. At each football game, she buys a bottle of water for $0.75 and a candy bar for $0.
melamori03 [73]

Answer:

6(0.75)+6(0.90)

Step-by-step explanation:

can i get brainleist pls!? hope this helps :)

7 0
3 years ago
If possible can someone help me with this problem.
Neko [114]

Answer:

I believe your answer is correct. Though I'm not sure if the first picture is right too.

Step-by-step explanation:

7 0
3 years ago
How much you pay in taxes depends on your______?
pishuonlain [190]

Answer: income

Step-by-step explanation:

3 0
3 years ago
I need help with my algerbra
Molodets [167]
I can help you what problem??
5 0
4 years ago
How is the point (2, 9) in the scatterplot described?
AnnZ [28]
Im not sure but u can search up the name and see online i would help if i could i hope the advise i gave helps just seach up if no one can help im so sorry i wanted to help but idk this stuff yet sorry
7 0
3 years ago
Other questions:
  • Which term describes a person's previous pattern of borrowing and repaying?
    7·2 answers
  • Aarav has 3250 followers on social media. His number of followers is increasing at a rate 3% per week. Which function represents
    11·1 answer
  • How do I solve 9/9-2/3
    9·1 answer
  • Choose the adverb and then decide which adjective it modifies in the sentence below.
    8·1 answer
  • A pair of earbuds cost 43$. They are on sale for 20% off. What is the discount and the final price of the earbuds
    12·1 answer
  • 50 POINTS !!<br><br><br> PLEASE HELP !! ILL GIVE BRAINLIEST TO THE RIGHT ANSWERS.
    15·2 answers
  • What is the image of the point (5,-3) after a reflection over the line y = x?
    12·2 answers
  • -2x-2=x-14 solve for x​
    10·2 answers
  • Help if you can if not that’s fine
    11·2 answers
  • 7x-7/79 = 68x+8<br>Find X.
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!