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
iren
2 months 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:
Zina [12.3K]2 months ago
4 0

Answer:

List_of_students = {};    //Array structure that holds student scores and names

Number_of_students = size(List_of_students);

Average_score;   //Variable to keep the average score

Below_Average = [];   //Initially filled with zeroes  

Highest_score; //Variable initialized to store the 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 scored %score, List_of_students(j),          List_of_students(j) )

     }

}

Compare_Score = 0;   //Variable for score comparison

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
A vertical pole, 40 feet tall, casts a shadow onto the ground. If the angle of elevation from the tip of the shadow on the groun
AnnZ [12381]
The shadow's length measures 96.6. To find the distance, you can use a right-angle triangle method if you know the angle of elevation. Here, (a) is the adjacent side, (b) is the hypotenuse, and (c) is the opposite side. We know that the adjacent side (a) equals 40, while the opposite side (b) is unknown. The tangent of the angle θ is given by opposite/adjacent; thus, tan 67° = opposite/40. Therefore, the opposite side equals tan 67° multiplied by 40, leading to an adjacent length of 96.6.
3 0
1 month ago
A set of notations (SSS, SAS, ASA and RHS) is used to describe/prove
Svet_ta [12734]

Detailed breakdown:

locate the triangles

5 0
3 months ago
76% is between which of the following two numbers?
AnnZ [12381]

Hi there!

While there are no answer choices provided, here's how you can solve a problem like this.

To find the average of two numbers, you simply sum them up and divide by two!

For instance, to find the midpoint between 1 and 3, you add 1 and 3 to get 4, then divide by 2 which results in 2!

For 100 and 580, adding gives you 680, and dividing by 2 results in 340!

The average between 0.57 and 0.69 involves adding to get 1.26, then dividing by 2 yields 0.63!

Now, with percentages, for 45% and 67%, the addition gives you 112%, and dividing that by 2 will result in 56%!

So, for your answer options, just calculate the total and divide by two to determine which one results in 76%!

I hope this information helps!

5 0
2 months ago
A man purchased 6 fruits at Rs 10 How many fruits will he sell at Rs 9 so that he may make an overall profit of 8%
Svet_ta [12734]

Response:

Detailed breakdown:

P(x)=S(x)-C(x)

0.8=9-C(x)

C(x)=9 -0.08

C(x)=8.92

3 0
1 month ago
Witch of the functions below could possibly have created this graph? A.f(x)-x^5+2x^4-3x B.f(x)=-1/3x^4+7x^2+15 C.f(x)=1.9x^8+15x
babunello [11817]
B. f(x)=-1/3x^4+7x^2+15. You can visualize the function using a graphing tool for better understanding.
3 0
1 month ago
Other questions:
  • Which of the following functions is graphed below?
    5·1 answer
  • A recipe calls for 1 part beans to 1-1/2 parts rice. If 1-1/2 parts of beans are used how much rice should be used
    8·2 answers
  • A recent survey concluded that the proportion of american teenagers who have a cell phone is 0.27. the true population proportio
    5·1 answer
  • Two friends went rowing on the river. They first traveled with current for 3 hours. The way back took them 4 hours and 48 minute
    10·2 answers
  • On a number line, a number, b, is located the same distance from 0 as another number, a, but in the opposite direction. The numb
    15·1 answer
  • Chi loves to read. He can speed-read 40 pages in 3 minutes. How long should it take him to read "The Scarlet Letter," a 265- pag
    9·1 answer
  • Ryan spills some soda and neglects to clean it up. When leaving for spring break, Ryan notices some ants on the sticky mess, but
    12·1 answer
  • What is the relation between the sine and cosine values of angles in each quadrant? How would you use the 60° angle to find sine
    10·1 answer
  • (Pic above) In the figure above , O is the center of square. What is the area of the square?
    12·1 answer
  • M∠AFD=90°. m∠AFB=31°. Find m∠CFEm.
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!