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
5.28 rounded to the nearest tenth
Bond [772]
5.28\to\boxed{5.30}
5 0
3 years ago
Read 2 more answers
Write an equation in standard form of the line passing through the points (3,3) and (-3,5)
Korvikt [17]

Answer:

The equation of line AB  with points (3,3) and (-3,5) is given as

: x + 3y = 12

Step-by-step explanation:

Here, the given points are A (3, 3) and B (-3,5).

Now, slope of any line is given as :

m = \frac{y_2 - y_1}{x_2 - x_1}

or, m = \frac{5-3}{-3 - 3}   = \frac{2}{-6}  = -\frac{1}{3}

Hence, the slope of the line AB is (-1/3)

Now , A POINT SLOPE FORM of an equation is

(y - y0)  = m (x - x0) ; (x0, y0)  is any arbitrary point on line.

So, for the point (3,3) the equation of the line is

y - 3y-3 = -\frac{1}{3} (x-3)   \implies 3y - 9 = 3 -x

Hence, the equation of line AB  with points (3,3) and (-3,5) is given as:

x + 3y = 12

8 0
3 years ago
How much lower was the 6am temperature in Juneau than in Los Angeles
adell [148]
A lot like shoot i think 20 or more
6 0
3 years ago
HELP MATH QUESTION GEOMETRY
schepotkina [342]

Angle COD equals angle AJL

Angle DCO equals Angle LAJ

Side OC equals side JA is all true expect for the first one

3 0
3 years ago
A.
MAXImum [283]

Answer:

c

Step-by-step explanation:

6 0
3 years ago
Other questions:
  • 5 5/7 divided by 1 3/5 • 4 2/3
    7·1 answer
  • What os the slope of a line that is perpendicular to the line shown
    8·1 answer
  • Josh will take 10 test in 5 weeks. How many tests will he have taken after 7 weeks?
    8·2 answers
  • Drag numbers to the table so it shows a proportional relationship between x and y.
    10·2 answers
  • According to one theory of learning, the number of items, w(t), that a person can learn after t hours of instruction is given by
    13·1 answer
  • The siding of a house is 2250 square feet. The siding needs two coats of paint. One quart costs $18 and covers 80 square feet. O
    14·1 answer
  • Russ and Vicki are trying to solve this problem :
    11·2 answers
  • Distribute: 4(3x + 7)
    15·2 answers
  • What does x-26= x2 equal ?
    13·1 answer
  • 3(y – 3) = 2y – 9 + y<br> A. one solution<br> B. no solutions<br> C. infinitely many solutions
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!